Message ID | 1415313426-9622-118-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index ce87c90..89da957 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c @@ -637,7 +637,7 @@ int dquot_writeback_dquots(struct super_block *sb, int type) dqstats_inc(DQST_LOOKUPS); err = sb->dq_op->write_dquot(dquot); if (!ret && err) - err = ret; + ret = err; dqput(dquot); spin_lock(&dq_list_lock); }