diff options
Diffstat (limited to 'fs/gfs2/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index da46e14388f4..c0a3c9a2a593 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
@@ -556,7 +556,7 @@ static void do_qc(struct gfs2_quota_data *qd, s64 change) | |||
556 | qd_hold(qd); | 556 | qd_hold(qd); |
557 | slot_hold(qd); | 557 | slot_hold(qd); |
558 | } | 558 | } |
559 | 559 | ||
560 | mutex_unlock(&sdp->sd_quota_mutex); | 560 | mutex_unlock(&sdp->sd_quota_mutex); |
561 | } | 561 | } |
562 | 562 | ||
@@ -777,7 +777,7 @@ restart: | |||
777 | 777 | ||
778 | gfs2_glock_dq_uninit(&i_gh); | 778 | gfs2_glock_dq_uninit(&i_gh); |
779 | 779 | ||
780 | 780 | ||
781 | gfs2_quota_in(&q, buf); | 781 | gfs2_quota_in(&q, buf); |
782 | qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lvb; | 782 | qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lvb; |
783 | qlvb->qb_magic = cpu_to_be32(GFS2_MAGIC); | 783 | qlvb->qb_magic = cpu_to_be32(GFS2_MAGIC); |
@@ -1062,7 +1062,7 @@ int gfs2_quota_init(struct gfs2_sbd *sdp) | |||
1062 | if (!ip->i_di.di_size || ip->i_di.di_size > (64 << 20) || | 1062 | if (!ip->i_di.di_size || ip->i_di.di_size > (64 << 20) || |
1063 | ip->i_di.di_size & (sdp->sd_sb.sb_bsize - 1)) { | 1063 | ip->i_di.di_size & (sdp->sd_sb.sb_bsize - 1)) { |
1064 | gfs2_consist_inode(ip); | 1064 | gfs2_consist_inode(ip); |
1065 | return -EIO; | 1065 | return -EIO; |
1066 | } | 1066 | } |
1067 | sdp->sd_quota_slots = blocks * sdp->sd_qc_per_block; | 1067 | sdp->sd_quota_slots = blocks * sdp->sd_qc_per_block; |
1068 | sdp->sd_quota_chunks = DIV_ROUND_UP(sdp->sd_quota_slots, 8 * PAGE_SIZE); | 1068 | sdp->sd_quota_chunks = DIV_ROUND_UP(sdp->sd_quota_slots, 8 * PAGE_SIZE); |