author | Jan Kara <jack@suse.cz> | |
Wed, 22 Oct 2014 07:06:49 +0000 (09:06 +0200) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Fri, 14 Nov 2014 16:48:00 +0000 (08:48 -0800) | ||
commit | 33d90ee4d0318fb1ec5bba6a8b9f4fa2d5333d3c | |
tree | 37de27c33a24ad9235666ca0d7850b0846253089 | tree | snapshot (tar.xz tar.gz zip) |
parent | b57203e1fdfb7fa7e7b00d777fb6c83d73f8ce36 | commit | diff |
quota: Properly return errors from dquot_writeback_dquots()
commit 474d2605d119479e5aa050f738632e63589d4bb5 upstream.
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.
Coverity-id: 1226884
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 474d2605d119479e5aa050f738632e63589d4bb5 upstream.
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.
Coverity-id: 1226884
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/quota/dquot.c | diff | blob | history |