aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r--fs/gfs2/inode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index b9e4bcb3bf1e..ac9535be304f 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -386,7 +386,6 @@ struct inode *gfs2_lookup_simple(struct inode *dip, const char *name)
386 386
387struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name, 387struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
388 int is_root, struct nameidata *nd) 388 int is_root, struct nameidata *nd)
389
390{ 389{
391 struct super_block *sb = dir->i_sb; 390 struct super_block *sb = dir->i_sb;
392 struct gfs2_inode *dip = GFS2_I(dir); 391 struct gfs2_inode *dip = GFS2_I(dir);
@@ -491,7 +490,7 @@ static int pick_formal_ino_2(struct gfs2_sbd *sdp, u64 *formal_ino)
491 error = gfs2_meta_inode_buffer(ip, &bh); 490 error = gfs2_meta_inode_buffer(ip, &bh);
492 if (error) 491 if (error)
493 goto out_end_trans; 492 goto out_end_trans;
494 493
495 gfs2_inum_range_in(&ir, bh->b_data + sizeof(struct gfs2_dinode)); 494 gfs2_inum_range_in(&ir, bh->b_data + sizeof(struct gfs2_dinode));
496 495
497 if (!ir.ir_length) { 496 if (!ir.ir_length) {
@@ -769,7 +768,7 @@ static int link_dinode(struct gfs2_inode *dip, const struct qstr *name,
769 768
770 error = gfs2_trans_begin(sdp, sdp->sd_max_dirres + 769 error = gfs2_trans_begin(sdp, sdp->sd_max_dirres +
771 al->al_rgd->rd_ri.ri_length + 770 al->al_rgd->rd_ri.ri_length +
772 2 * RES_DINODE + 771 2 * RES_DINODE +
773 RES_STATFS + RES_QUOTA, 0); 772 RES_STATFS + RES_QUOTA, 0);
774 if (error) 773 if (error)
775 goto fail_ipreserv; 774 goto fail_ipreserv;