summaryrefslogtreecommitdiffstats
path: root/fs/quota/dquot.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-10-31 16:18:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-31 16:18:47 -0700
commite2488ab6ab34cddccda5e839eaeb37f72701830e (patch)
tree5671f999ee9eb88c38bf6718b3857cfecd3c851d /fs/quota/dquot.c
parent89453379aaf0608253124057df6cd8ac63948135 (diff)
parent3c9cafe05ff002eb84d438a02f3c8d468720463b (diff)
downloadlinux-e2488ab6ab34cddccda5e839eaeb37f72701830e.tar.bz2
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull quota and ext3 fixes from Jan Kara. * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: fs, jbd: use a more generic hash function quota: Properly return errors from dquot_writeback_dquots() ext3: Don't check quota format when there are no quota files
Diffstat (limited to 'fs/quota/dquot.c')
-rw-r--r--fs/quota/dquot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 8b663b2d9562..6b4527216a7f 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -634,7 +634,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);
}