]> git.baikalelectronics.ru Git - kernel.git/commit
quota: Do not dirty bad dquots
authorJan Kara <jack@suse.cz>
Wed, 2 Aug 2017 09:44:38 +0000 (11:44 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 20:00:07 +0000 (22:00 +0200)
commit0904a4a8cc4cad77743a9661a71c265bfd736d8f
treed4982c470250700eb9e509b30560507b5197da44
parent76386449a7111367268cd33241ca6423c5965193
quota: Do not dirty bad dquots

Currently we mark dirty even dquots that are not active (i.e.,
initialization or reading failed for them). Thus later we have to check
whether dirty dquot is really active and just clear the dirty bit if
not. Avoid this complication by just never marking non-active dquot as
dirty.

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