aboutsummaryrefslogtreecommitdiffstats
path: root/fs/freevxfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/freevxfs')
-rw-r--r--fs/freevxfs/vxfs.h4
-rw-r--r--fs/freevxfs/vxfs_fshead.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/fs/freevxfs/vxfs.h b/fs/freevxfs/vxfs.h
index 583bd78086d8..d35979a58743 100644
--- a/fs/freevxfs/vxfs.h
+++ b/fs/freevxfs/vxfs.h
@@ -159,11 +159,11 @@ struct vxfs_sb {
159 * In core superblock filesystem private data for VxFS. 159 * In core superblock filesystem private data for VxFS.
160 */ 160 */
161struct vxfs_sb_info { 161struct vxfs_sb_info {
162 struct vxfs_sb *vsi_raw; /* raw (on disk) supeblock */ 162 struct vxfs_sb *vsi_raw; /* raw (on disk) superblock */
163 struct buffer_head *vsi_bp; /* buffer for raw superblock*/ 163 struct buffer_head *vsi_bp; /* buffer for raw superblock*/
164 struct inode *vsi_fship; /* fileset header inode */ 164 struct inode *vsi_fship; /* fileset header inode */
165 struct inode *vsi_ilist; /* inode list inode */ 165 struct inode *vsi_ilist; /* inode list inode */
166 struct inode *vsi_stilist; /* structual inode list inode */ 166 struct inode *vsi_stilist; /* structural inode list inode */
167 u_long vsi_iext; /* initial inode list */ 167 u_long vsi_iext; /* initial inode list */
168 ino_t vsi_fshino; /* fileset header inode */ 168 ino_t vsi_fshino; /* fileset header inode */
169 daddr_t vsi_oltext; /* OLT extent */ 169 daddr_t vsi_oltext; /* OLT extent */
diff --git a/fs/freevxfs/vxfs_fshead.c b/fs/freevxfs/vxfs_fshead.c
index 6dee109aeea4..78948b4b1894 100644
--- a/fs/freevxfs/vxfs_fshead.c
+++ b/fs/freevxfs/vxfs_fshead.c
@@ -112,7 +112,7 @@ vxfs_read_fshead(struct super_block *sbp)
112 112
113 vip = vxfs_blkiget(sbp, infp->vsi_iext, infp->vsi_fshino); 113 vip = vxfs_blkiget(sbp, infp->vsi_iext, infp->vsi_fshino);
114 if (!vip) { 114 if (!vip) {
115 printk(KERN_ERR "vxfs: unabled to read fsh inode\n"); 115 printk(KERN_ERR "vxfs: unable to read fsh inode\n");
116 return -EINVAL; 116 return -EINVAL;
117 } 117 }
118 if (!VXFS_ISFSH(vip)) { 118 if (!VXFS_ISFSH(vip)) {
@@ -129,13 +129,13 @@ vxfs_read_fshead(struct super_block *sbp)
129 129
130 infp->vsi_fship = vxfs_get_fake_inode(sbp, vip); 130 infp->vsi_fship = vxfs_get_fake_inode(sbp, vip);
131 if (!infp->vsi_fship) { 131 if (!infp->vsi_fship) {
132 printk(KERN_ERR "vxfs: unabled to get fsh inode\n"); 132 printk(KERN_ERR "vxfs: unable to get fsh inode\n");
133 goto out_free_fship; 133 goto out_free_fship;
134 } 134 }
135 135
136 sfp = vxfs_getfsh(infp->vsi_fship, 0); 136 sfp = vxfs_getfsh(infp->vsi_fship, 0);
137 if (!sfp) { 137 if (!sfp) {
138 printk(KERN_ERR "vxfs: unabled to get structural fsh\n"); 138 printk(KERN_ERR "vxfs: unable to get structural fsh\n");
139 goto out_iput_fship; 139 goto out_iput_fship;
140 } 140 }
141 141
@@ -145,7 +145,7 @@ vxfs_read_fshead(struct super_block *sbp)
145 145
146 pfp = vxfs_getfsh(infp->vsi_fship, 1); 146 pfp = vxfs_getfsh(infp->vsi_fship, 1);
147 if (!pfp) { 147 if (!pfp) {
148 printk(KERN_ERR "vxfs: unabled to get primary fsh\n"); 148 printk(KERN_ERR "vxfs: unable to get primary fsh\n");
149 goto out_free_sfp; 149 goto out_free_sfp;
150 } 150 }
151 151
@@ -159,7 +159,7 @@ vxfs_read_fshead(struct super_block *sbp)
159 159
160 infp->vsi_stilist = vxfs_get_fake_inode(sbp, tip); 160 infp->vsi_stilist = vxfs_get_fake_inode(sbp, tip);
161 if (!infp->vsi_stilist) { 161 if (!infp->vsi_stilist) {
162 printk(KERN_ERR "vxfs: unabled to get structual list inode\n"); 162 printk(KERN_ERR "vxfs: unable to get structural list inode\n");
163 kfree(tip); 163 kfree(tip);
164 goto out_free_pfp; 164 goto out_free_pfp;
165 } 165 }
@@ -174,7 +174,7 @@ vxfs_read_fshead(struct super_block *sbp)
174 goto out_iput_stilist; 174 goto out_iput_stilist;
175 infp->vsi_ilist = vxfs_get_fake_inode(sbp, tip); 175 infp->vsi_ilist = vxfs_get_fake_inode(sbp, tip);
176 if (!infp->vsi_ilist) { 176 if (!infp->vsi_ilist) {
177 printk(KERN_ERR "vxfs: unabled to get inode list inode\n"); 177 printk(KERN_ERR "vxfs: unable to get inode list inode\n");
178 kfree(tip); 178 kfree(tip);
179 goto out_iput_stilist; 179 goto out_iput_stilist;
180 } 180 }