summaryrefslogtreecommitdiff
path: root/fs/9p/vfs_file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-17 08:07:11 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-24 23:34:47 -0400
commitceaec15d49f29de1f8864e31ff4007c34b031bff (patch)
tree1041f5725f6d4a3381068122abb8822705a1bc95 /fs/9p/vfs_file.c
parentd0e639c9e06d44e713170031fe05fb60ebe680af (diff)
downloadlinux-stable-ceaec15d49f29de1f8864e31ff4007c34b031bff.tar.gz
linux-stable-ceaec15d49f29de1f8864e31ff4007c34b031bff.tar.bz2
linux-stable-ceaec15d49f29de1f8864e31ff4007c34b031bff.zip
9p: make v9fs_cache_inode_{get,put,set}_cookie empty inlines for !9P_CACHEFS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p/vfs_file.c')
-rw-r--r--fs/9p/vfs_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
index aa5ecf479a57..a0df3e73c2b1 100644
--- a/fs/9p/vfs_file.c
+++ b/fs/9p/vfs_file.c
@@ -105,10 +105,8 @@ int v9fs_file_open(struct inode *inode, struct file *file)
v9inode->writeback_fid = (void *) fid;
}
mutex_unlock(&v9inode->v_mutex);
-#ifdef CONFIG_9P_FSCACHE
if (v9ses->cache)
v9fs_cache_inode_set_cookie(inode, file);
-#endif
return 0;
out_error:
p9_client_clunk(file->private_data);