diff options
-rw-r--r-- | fs/gfs2/quota.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index bbd66adaec3d..f0aaae07a598 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -470,17 +470,6 @@ static bool qd_grab_sync(struct gfs2_sbd *sdp, struct gfs2_quota_data *qd, qd->qd_sync_gen >= sync_gen) return false; - /* - * If qd_change is 0 it means a pending quota change was negated. - * We should not sync it, but we still have a qd reference and slot - * reference taken by gfs2_quota_change -> do_qc that need to be put. - */ - if (!qd->qd_change && test_and_clear_bit(QDF_CHANGE, &qd->qd_flags)) { - slot_put(qd); - qd_put(qd); - return false; - } - if (!lockref_get_not_dead(&qd->qd_lockref)) return false; |