diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 9eac4b49a199..cdbaea9e8573 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -127,21 +127,21 @@ xfs_set_inodeops( | |||
127 | { | 127 | { |
128 | switch (inode->i_mode & S_IFMT) { | 128 | switch (inode->i_mode & S_IFMT) { |
129 | case S_IFREG: | 129 | case S_IFREG: |
130 | inode->i_op = &linvfs_file_inode_operations; | 130 | inode->i_op = &xfs_inode_operations; |
131 | inode->i_fop = &xfs_file_operations; | 131 | inode->i_fop = &xfs_file_operations; |
132 | inode->i_mapping->a_ops = &xfs_address_space_operations; | 132 | inode->i_mapping->a_ops = &xfs_address_space_operations; |
133 | break; | 133 | break; |
134 | case S_IFDIR: | 134 | case S_IFDIR: |
135 | inode->i_op = &linvfs_dir_inode_operations; | 135 | inode->i_op = &xfs_dir_inode_operations; |
136 | inode->i_fop = &xfs_dir_file_operations; | 136 | inode->i_fop = &xfs_dir_file_operations; |
137 | break; | 137 | break; |
138 | case S_IFLNK: | 138 | case S_IFLNK: |
139 | inode->i_op = &linvfs_symlink_inode_operations; | 139 | inode->i_op = &xfs_symlink_inode_operations; |
140 | if (inode->i_blocks) | 140 | if (inode->i_blocks) |
141 | inode->i_mapping->a_ops = &xfs_address_space_operations; | 141 | inode->i_mapping->a_ops = &xfs_address_space_operations; |
142 | break; | 142 | break; |
143 | default: | 143 | default: |
144 | inode->i_op = &linvfs_file_inode_operations; | 144 | inode->i_op = &xfs_inode_operations; |
145 | init_special_inode(inode, inode->i_mode, inode->i_rdev); | 145 | init_special_inode(inode, inode->i_mode, inode->i_rdev); |
146 | break; | 146 | break; |
147 | } | 147 | } |