ext4: fix deadlock with quota feature
authorJan Kara <jack@suse.cz>
Tue, 9 Apr 2013 13:21:41 +0000 (09:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 9 Apr 2013 13:21:41 +0000 (09:21 -0400)
commitbcb1385096caf421363d47e735acda940cb1e12b
tree64f43332e262c078b74aedb1d062aec293176b6f
parente8238f9a8339b3578c85e4192a7a23bc2bdc0333
ext4: fix deadlock with quota feature

We didn't mark hidden quota files with S_NOQUOTA flag and thus quota was
accounted even for quota files. Thus we could recurse back to quota code
when adding new blocks to quota file which can easily deadlock. Mark
hidden quota files properly.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c