quota: Fix issuing of warnings from dquot_transfer
authorJan Kara <jack@suse.cz>
Mon, 11 Oct 2010 13:22:21 +0000 (15:22 +0200)
committerJan Kara <jack@suse.cz>
Wed, 27 Oct 2010 23:30:03 +0000 (01:30 +0200)
commit86f3cbec4a193c04d0a31c13132c5956731af6ff
tree6bc3f57914b07672b73320dc9604a40b8e3ffea5
parent9e32784b71c2c84895016ca6ab271591669c02aa
quota: Fix issuing of warnings from dquot_transfer

__dquot_transfer accidentally called flush_warnings for a wrong set of
dquots which could result in quota warnings being issued with a wrong
identification. Also when operation fails because of EDQUOT, there's no
need check for issuing information message about user getting below limits
(no transfer has actually happened).

Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c