summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@poochiereds.net>2014-04-30 09:31:46 -0400
committerSteve French <smfrench@gmail.com>2014-05-21 10:18:05 -0700
commite284e53fdea1dfd66e73c239fa190685985ae465 (patch)
treebdfe89d7e8b5ca29bba0abf5f3ec5ba4618df779 /fs/cifs/cifsfs.h
parentaff8d5ca7a3dca0bd6f6e86c9a85bf04941262ce (diff)
downloadop-kernel-dev-e284e53fdea1dfd66e73c239fa190685985ae465.zip
op-kernel-dev-e284e53fdea1dfd66e73c239fa190685985ae465.tar.gz
cifs: new helper function: cifs_revalidate_mapping
Consolidate a bit of code. In a later patch we'll expand this to fix some races. Signed-off-by: Jeff Layton <jlayton@poochiereds.net> Signed-off-by: Steve French <smfrench@gmail.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 89eab9a..63d5127 100644
--- a/fs/cifs/cifsfs.h
+++ b/fs/cifs/cifsfs.h
@@ -75,6 +75,7 @@ extern int cifs_revalidate_dentry_attr(struct dentry *);
extern int cifs_revalidate_file(struct file *filp);
extern int cifs_revalidate_dentry(struct dentry *);
extern int cifs_invalidate_mapping(struct inode *inode);
+extern int cifs_revalidate_mapping(struct inode *inode);
extern int cifs_getattr(struct vfsmount *, struct dentry *, struct kstat *);
extern int cifs_setattr(struct dentry *, struct iattr *);
OpenPOWER on IntegriCloud