aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r--fs/9p/vfs_inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 6d2357d1dacd..36fff087167f 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -250,6 +250,9 @@ struct inode *v9fs_get_inode(struct super_block *sb, int mode)
250 case S_IFBLK: 250 case S_IFBLK:
251 case S_IFCHR: 251 case S_IFCHR:
252 case S_IFSOCK: 252 case S_IFSOCK:
253 init_special_inode(inode, inode->i_mode,
254 inode->i_rdev);
255 break;
253 case S_IFREG: 256 case S_IFREG:
254 inode->i_op = &v9fs_file_inode_operations; 257 inode->i_op = &v9fs_file_inode_operations;
255 inode->i_fop = &v9fs_file_operations; 258 inode->i_fop = &v9fs_file_operations;