From bdc1cbe3b8609f53a04112252b90d5ac58634d53 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 20 Aug 2008 15:49:59 +0200 Subject: [PATCH] --- yaml --- r: 125819 b: refs/heads/master c: 1497d3ad487b64eeea83ac203263802755438949 h: refs/heads/master i: 125817: e2092e39a9f650c4d586ad08f5ca3276f3e602f3 125815: 98ac3245b1b1b6892dd75be0addc4136672945a3 v: v3 --- [refs] | 2 +- trunk/fs/dquot.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a5b3b7bc6427..294db2c12cfd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 12095460f7f315f8ef67a55b2194195d325d48d7 +refs/heads/master: 1497d3ad487b64eeea83ac203263802755438949 diff --git a/trunk/fs/dquot.c b/trunk/fs/dquot.c index c02223b6aeb2..c88330602ddd 100644 --- a/trunk/fs/dquot.c +++ b/trunk/fs/dquot.c @@ -1041,7 +1041,7 @@ static inline char ignore_hardlimit(struct dquot *dquot) static int check_idq(struct dquot *dquot, qsize_t inodes, char *warntype) { *warntype = QUOTA_NL_NOWARN; - if (inodes <= 0 || test_bit(DQ_FAKE_B, &dquot->dq_flags)) + if (test_bit(DQ_FAKE_B, &dquot->dq_flags)) return QUOTA_OK; if (dquot->dq_dqb.dqb_ihardlimit && @@ -1073,7 +1073,7 @@ static int check_idq(struct dquot *dquot, qsize_t inodes, char *warntype) static int check_bdq(struct dquot *dquot, qsize_t space, int prealloc, char *warntype) { *warntype = QUOTA_NL_NOWARN; - if (space <= 0 || test_bit(DQ_FAKE_B, &dquot->dq_flags)) + if (test_bit(DQ_FAKE_B, &dquot->dq_flags)) return QUOTA_OK; if (dquot->dq_dqb.dqb_bhardlimit &&