diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index e24d966fb214..a8323f1dc1c4 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -736,7 +736,7 @@ const struct file_operations cifs_file_ops = { | |||
736 | const struct file_operations cifs_file_strict_ops = { | 736 | const struct file_operations cifs_file_strict_ops = { |
737 | .read = do_sync_read, | 737 | .read = do_sync_read, |
738 | .write = do_sync_write, | 738 | .write = do_sync_write, |
739 | .aio_read = generic_file_aio_read, | 739 | .aio_read = cifs_strict_readv, |
740 | .aio_write = cifs_file_aio_write, | 740 | .aio_write = cifs_file_aio_write, |
741 | .open = cifs_open, | 741 | .open = cifs_open, |
742 | .release = cifs_close, | 742 | .release = cifs_close, |
@@ -792,7 +792,7 @@ const struct file_operations cifs_file_nobrl_ops = { | |||
792 | const struct file_operations cifs_file_strict_nobrl_ops = { | 792 | const struct file_operations cifs_file_strict_nobrl_ops = { |
793 | .read = do_sync_read, | 793 | .read = do_sync_read, |
794 | .write = do_sync_write, | 794 | .write = do_sync_write, |
795 | .aio_read = generic_file_aio_read, | 795 | .aio_read = cifs_strict_readv, |
796 | .aio_write = cifs_file_aio_write, | 796 | .aio_write = cifs_file_aio_write, |
797 | .open = cifs_open, | 797 | .open = cifs_open, |
798 | .release = cifs_close, | 798 | .release = cifs_close, |