aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-08-30 02:01:21 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2011-10-24 12:13:11 -0400
commit464f5ecf00bb4513ba257520678f5168452f67ba (patch)
tree33d21ae3efb9c7a333de00281d2c059fbfd8c912 /fs/9p
parentabfa034e4b8ed0046fa589769e9840af645bc4ba (diff)
fs/9p: inode file operation is properly initialized init_special_inode
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/vfs_inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index e3c03db3c788..b5a1076aaa6c 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -278,10 +278,8 @@ int v9fs_init_inode(struct v9fs_session_info *v9ses,
278 case S_IFSOCK: 278 case S_IFSOCK:
279 if (v9fs_proto_dotl(v9ses)) { 279 if (v9fs_proto_dotl(v9ses)) {
280 inode->i_op = &v9fs_file_inode_operations_dotl; 280 inode->i_op = &v9fs_file_inode_operations_dotl;
281 inode->i_fop = &v9fs_file_operations_dotl;
282 } else if (v9fs_proto_dotu(v9ses)) { 281 } else if (v9fs_proto_dotu(v9ses)) {
283 inode->i_op = &v9fs_file_inode_operations; 282 inode->i_op = &v9fs_file_inode_operations;
284 inode->i_fop = &v9fs_file_operations;
285 } else { 283 } else {
286 P9_DPRINTK(P9_DEBUG_ERROR, 284 P9_DPRINTK(P9_DEBUG_ERROR,
287 "special files without extended mode\n"); 285 "special files without extended mode\n");