diff options
Diffstat (limited to 'fs/afs/inode.c')
-rw-r--r-- | fs/afs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/inode.c b/fs/afs/inode.c index c476fde33fbc..4ebb30a50ed5 100644 --- a/fs/afs/inode.c +++ b/fs/afs/inode.c | |||
@@ -49,7 +49,7 @@ static int afs_inode_map_status(struct afs_vnode *vnode) | |||
49 | case AFS_FTYPE_FILE: | 49 | case AFS_FTYPE_FILE: |
50 | inode->i_mode = S_IFREG | vnode->status.mode; | 50 | inode->i_mode = S_IFREG | vnode->status.mode; |
51 | inode->i_op = &afs_file_inode_operations; | 51 | inode->i_op = &afs_file_inode_operations; |
52 | inode->i_fop = &afs_file_file_operations; | 52 | inode->i_fop = &generic_ro_fops; |
53 | break; | 53 | break; |
54 | case AFS_FTYPE_DIR: | 54 | case AFS_FTYPE_DIR: |
55 | inode->i_mode = S_IFDIR | vnode->status.mode; | 55 | inode->i_mode = S_IFDIR | vnode->status.mode; |