Skip to content

Commit

Permalink
[PATCH] reiserfs: remove reiserfs_aio_write()
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: <reiserfs-dev@namesys.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Jun 26, 2006
1 parent 4eb582c commit 9637f28
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions fs/reiserfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1560,12 +1560,6 @@ static ssize_t reiserfs_file_write(struct file *file, /* the file we are going t
return res;
}

static ssize_t reiserfs_aio_write(struct kiocb *iocb, const char __user * buf,
size_t count, loff_t pos)
{
return generic_file_aio_write(iocb, buf, count, pos);
}

const struct file_operations reiserfs_file_operations = {
.read = generic_file_read,
.write = reiserfs_file_write,
Expand All @@ -1575,7 +1569,7 @@ const struct file_operations reiserfs_file_operations = {
.fsync = reiserfs_sync_file,
.sendfile = generic_file_sendfile,
.aio_read = generic_file_aio_read,
.aio_write = reiserfs_aio_write,
.aio_write = generic_file_aio_write,
.splice_read = generic_file_splice_read,
.splice_write = generic_file_splice_write,
};
Expand Down

0 comments on commit 9637f28

Please sign in to comment.