aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/v9fs_vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/v9fs_vfs.h')
-rw-r--r--fs/9p/v9fs_vfs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h
index ed9fd00566f2..591807f20188 100644
--- a/fs/9p/v9fs_vfs.h
+++ b/fs/9p/v9fs_vfs.h
@@ -70,4 +70,14 @@ int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *);
70int v9fs_file_fsync_dotl(struct file *filp, int datasync); 70int v9fs_file_fsync_dotl(struct file *filp, int datasync);
71ssize_t v9fs_file_write_internal(struct inode *, struct p9_fid *, 71ssize_t v9fs_file_write_internal(struct inode *, struct p9_fid *,
72 const char __user *, size_t, loff_t *, int); 72 const char __user *, size_t, loff_t *, int);
73int v9fs_refresh_inode(struct p9_fid *fid, struct inode *inode);
74int v9fs_refresh_inode_dotl(struct p9_fid *fid, struct inode *inode);
75static inline void v9fs_invalidate_inode_attr(struct inode *inode)
76{
77 struct v9fs_inode *v9inode;
78 v9inode = V9FS_I(inode);
79 v9inode->cache_validity |= V9FS_INO_INVALID_ATTR;
80 return;
81}
82
73#define P9_LOCK_TIMEOUT (30*HZ) 83#define P9_LOCK_TIMEOUT (30*HZ)