Loading fs/gfs2/lops.c +0 −2 Original line number Diff line number Diff line Loading @@ -695,8 +695,6 @@ static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, brelse(bh_log); brelse(bh_ip); if (error) break; sdp->sd_replayed_blocks++; } Loading fs/gfs2/ops_fstype.c +0 −3 Original line number Diff line number Diff line Loading @@ -651,7 +651,6 @@ static int init_journal(struct gfs2_sbd *sdp, int undo) fs_err(sdp, "can't lookup journal index: %d\n", error); return PTR_ERR(sdp->sd_jindex); } ip = GFS2_I(sdp->sd_jindex); /* Load in the journal index special file */ Loading Loading @@ -763,7 +762,6 @@ static int init_journal(struct gfs2_sbd *sdp, int undo) static int init_inodes(struct gfs2_sbd *sdp, int undo) { int error = 0; struct gfs2_inode *ip; struct inode *master = sdp->sd_master_dir->d_inode; if (undo) Loading @@ -788,7 +786,6 @@ static int init_inodes(struct gfs2_sbd *sdp, int undo) fs_err(sdp, "can't get resource index inode: %d\n", error); goto fail_statfs; } ip = GFS2_I(sdp->sd_rindex); sdp->sd_rindex_uptodate = 0; /* Read in the quota inode */ Loading fs/gfs2/quota.c +8 −3 Original line number Diff line number Diff line Loading @@ -645,8 +645,11 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, int err, nbytes; u64 size; if (gfs2_is_stuffed(ip)) gfs2_unstuff_dinode(ip, NULL); if (gfs2_is_stuffed(ip)) { err = gfs2_unstuff_dinode(ip, NULL); if (err) return err; } memset(&q, 0, sizeof(struct gfs2_quota)); err = gfs2_internal_read(ip, NULL, (char *)&q, &loc, sizeof(q)); Loading Loading @@ -927,7 +930,9 @@ int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid) unsigned int x; int error = 0; gfs2_quota_hold(ip, uid, gid); error = gfs2_quota_hold(ip, uid, gid); if (error) return error; if (capable(CAP_SYS_RESOURCE) || sdp->sd_args.ar_quota != GFS2_QUOTA_ON) Loading Loading
fs/gfs2/lops.c +0 −2 Original line number Diff line number Diff line Loading @@ -695,8 +695,6 @@ static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, brelse(bh_log); brelse(bh_ip); if (error) break; sdp->sd_replayed_blocks++; } Loading
fs/gfs2/ops_fstype.c +0 −3 Original line number Diff line number Diff line Loading @@ -651,7 +651,6 @@ static int init_journal(struct gfs2_sbd *sdp, int undo) fs_err(sdp, "can't lookup journal index: %d\n", error); return PTR_ERR(sdp->sd_jindex); } ip = GFS2_I(sdp->sd_jindex); /* Load in the journal index special file */ Loading Loading @@ -763,7 +762,6 @@ static int init_journal(struct gfs2_sbd *sdp, int undo) static int init_inodes(struct gfs2_sbd *sdp, int undo) { int error = 0; struct gfs2_inode *ip; struct inode *master = sdp->sd_master_dir->d_inode; if (undo) Loading @@ -788,7 +786,6 @@ static int init_inodes(struct gfs2_sbd *sdp, int undo) fs_err(sdp, "can't get resource index inode: %d\n", error); goto fail_statfs; } ip = GFS2_I(sdp->sd_rindex); sdp->sd_rindex_uptodate = 0; /* Read in the quota inode */ Loading
fs/gfs2/quota.c +8 −3 Original line number Diff line number Diff line Loading @@ -645,8 +645,11 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, int err, nbytes; u64 size; if (gfs2_is_stuffed(ip)) gfs2_unstuff_dinode(ip, NULL); if (gfs2_is_stuffed(ip)) { err = gfs2_unstuff_dinode(ip, NULL); if (err) return err; } memset(&q, 0, sizeof(struct gfs2_quota)); err = gfs2_internal_read(ip, NULL, (char *)&q, &loc, sizeof(q)); Loading Loading @@ -927,7 +930,9 @@ int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid) unsigned int x; int error = 0; gfs2_quota_hold(ip, uid, gid); error = gfs2_quota_hold(ip, uid, gid); if (error) return error; if (capable(CAP_SYS_RESOURCE) || sdp->sd_args.ar_quota != GFS2_QUOTA_ON) Loading