diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
| -rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 29f1da761bbf..8c6a03627176 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
| @@ -758,7 +758,7 @@ const struct file_operations cifs_file_ops = { | |||
| 758 | }; | 758 | }; |
| 759 | 759 | ||
| 760 | const struct file_operations cifs_file_direct_ops = { | 760 | const struct file_operations cifs_file_direct_ops = { |
| 761 | /* no mmap, no aio, no readv - | 761 | /* no aio, no readv - |
| 762 | BB reevaluate whether they can be done with directio, no cache */ | 762 | BB reevaluate whether they can be done with directio, no cache */ |
| 763 | .read = cifs_user_read, | 763 | .read = cifs_user_read, |
| 764 | .write = cifs_user_write, | 764 | .write = cifs_user_write, |
| @@ -767,6 +767,7 @@ const struct file_operations cifs_file_direct_ops = { | |||
| 767 | .lock = cifs_lock, | 767 | .lock = cifs_lock, |
| 768 | .fsync = cifs_fsync, | 768 | .fsync = cifs_fsync, |
| 769 | .flush = cifs_flush, | 769 | .flush = cifs_flush, |
| 770 | .mmap = cifs_file_mmap, | ||
| 770 | .splice_read = generic_file_splice_read, | 771 | .splice_read = generic_file_splice_read, |
| 771 | #ifdef CONFIG_CIFS_POSIX | 772 | #ifdef CONFIG_CIFS_POSIX |
| 772 | .unlocked_ioctl = cifs_ioctl, | 773 | .unlocked_ioctl = cifs_ioctl, |
