summaryrefslogtreecommitdiffstats
path: root/fs/9p/v9fs_vfs.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V2011-02-28 12:33:54 +0100
committerEric Van Hensbergen2011-03-15 15:57:36 +0100
commit29236f4e18dde0c772968b6ce965d0365fe3fe4e (patch)
treeabbfd30756c96fbd3a318986b91738120ed058f8 /fs/9p/v9fs_vfs.h
parent[net/9p] Small non-IO PDUs for zero-copy supporting transports. (diff)
downloadkernel-qcow2-linux-29236f4e18dde0c772968b6ce965d0365fe3fe4e.tar.gz
kernel-qcow2-linux-29236f4e18dde0c772968b6ce965d0365fe3fe4e.tar.xz
kernel-qcow2-linux-29236f4e18dde0c772968b6ce965d0365fe3fe4e.zip
fs/9p: set the cached file_operations struct during inode init
With the old code we were not setting the file->f_op with cached file operations during creat. (format correction by jvrao@linux.vnet.ibm.com) Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/v9fs_vfs.h')
-rw-r--r--fs/9p/v9fs_vfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h
index b789f8e597ec..e4d5540cbb70 100644
--- a/fs/9p/v9fs_vfs.h
+++ b/fs/9p/v9fs_vfs.h
@@ -45,6 +45,8 @@ extern const struct file_operations v9fs_dir_operations;
extern const struct file_operations v9fs_dir_operations_dotl;
extern const struct dentry_operations v9fs_dentry_operations;
extern const struct dentry_operations v9fs_cached_dentry_operations;
+extern const struct file_operations v9fs_cached_file_operations;
+extern const struct file_operations v9fs_cached_file_operations_dotl;
#ifdef CONFIG_9P_FSCACHE
struct inode *v9fs_alloc_inode(struct super_block *sb);