aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-13 22:00:51 -0500
committerNathan Scott <nathans@sgi.com>2006-03-13 22:00:51 -0500
commit416c6d5bcfe8ac2c65a955be62bc42d8b8d5b014 (patch)
treebf8ef73d247c4e44db36d9c742a088e0c4330630 /fs/xfs/linux-2.6/xfs_super.c
parent3562fd45658fbb696f4546479332d5249c3ad90f (diff)
[XFS] Switch over from linvfs names for inode operations for consistent
naming. SGI-PV: 950556 SGI-Modid: xfs-linux-melb:xfs-kern:25381a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c8
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 }