quota: add possibly missing iput() when quotaon and quotaoff races
authorJan Kara <jack@suse.cz>
Thu, 20 Mar 2008 00:00:46 +0000 (17:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 01:53:35 +0000 (18:53 -0700)
commit87cb055bc10571522f953925c25bb1a0d1b17605
tree72c097d68ee8222236a7630265fade4321800f98
parent52ea27eb4cd5f250f33638029a134ff03c5e6bbb
quota: add possibly missing iput() when quotaon and quotaoff races

We should always put inode we have reference to, even if quota was reenabled
in the mean time.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dquot.c