aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorPavel Shilovsky <piastryyy@gmail.com>2010-12-14 03:29:51 -0500
committerSteve French <sfrench@us.ibm.com>2011-01-20 16:42:25 -0500
commit7a6a19b17ab9103ec708c18befd28f2a3908d4c1 (patch)
tree3b781bf11b2a25c93ce20dbd80876e7e01c730e6 /fs/cifs/cifsfs.h
parent8be7e6ba142423e6ad98fed293c96f196f685229 (diff)
CIFS: Implement cifs_file_strict_mmap (try #2)
Invalidate inode mapping if we don't have at least Level II oplock. Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.h')
-rw-r--r--fs/cifs/cifsfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.h b/fs/cifs/cifsfs.h
index 10c4303c282d..710072e36912 100644
--- a/fs/cifs/cifsfs.h
+++ b/fs/cifs/cifsfs.h
@@ -89,6 +89,7 @@ extern int cifs_fsync(struct file *, int);
89extern int cifs_strict_fsync(struct file *, int); 89extern int cifs_strict_fsync(struct file *, int);
90extern int cifs_flush(struct file *, fl_owner_t id); 90extern int cifs_flush(struct file *, fl_owner_t id);
91extern int cifs_file_mmap(struct file * , struct vm_area_struct *); 91extern int cifs_file_mmap(struct file * , struct vm_area_struct *);
92extern int cifs_file_strict_mmap(struct file * , struct vm_area_struct *);
92extern const struct file_operations cifs_dir_ops; 93extern const struct file_operations cifs_dir_ops;
93extern int cifs_dir_open(struct inode *inode, struct file *file); 94extern int cifs_dir_open(struct inode *inode, struct file *file);
94extern int cifs_readdir(struct file *file, void *direntry, filldir_t filldir); 95extern int cifs_readdir(struct file *file, void *direntry, filldir_t filldir);