]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52c90492913fb84e20d57db5fe996590ab0c251e
tree64f43332e262c078b74aedb1d062aec293176b6f
parent411cd8cad5a03505e68d5935a8564a826c05ec16
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