quota: Properly return errors from dquot_writeback_dquots()
authorJan Kara <jack@suse.cz>
Wed, 22 Oct 2014 07:06:49 +0000 (09:06 +0200)
committerJan Kara <jack@suse.cz>
Wed, 22 Oct 2014 07:08:03 +0000 (09:08 +0200)
Due to a switched left and right side of an assignment,
dquot_writeback_dquots() never returned error. This could result in
errors during quota writeback to not be reported to userspace properly.
Fix it.

CC: stable@vger.kernel.org
Coverity-id: 1226884
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c

Simple merge