[PATCH] reiserfs: remove reiserfs_aio_write()
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>
This commit is contained in:
parent
4eb582cf1f
commit
9637f28f8b
|
@ -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,
|
||||
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue