[linux-cifs-client] [PATCH 3/3] add mmap for direct,nobrl
piastry at etersoft.ru
piastry at etersoft.ru
Wed Mar 24 02:57:48 MDT 2010
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 5183bc2..ded66be 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -808,6 +808,7 @@ const struct file_operations cifs_file_direct_nobrl_ops = {
.release = cifs_close,
.fsync = cifs_fsync,
.flush = cifs_flush,
+ .mmap = cifs_file_mmap,
.splice_read = generic_file_splice_read,
#ifdef CONFIG_CIFS_POSIX
.unlocked_ioctl = cifs_ioctl,
Signed-off-by: Pavel Shilovsky <piastryyy at gmail.com>
More information about the linux-cifs-client
mailing list