diff options
author | Jan Kara <jack@suse.cz> | 2021-10-07 17:53:35 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-01-10 13:25:54 -0500 |
commit | 15fc69bbbbbc8c72e5f6cc4e1be0f51283c5448e (patch) | |
tree | 2b3d87f12f412065f79cf66b27aa3af51c4d819f /fs/ecryptfs | |
parent | 380a0091cab482489e9b19e07f2a166ad2b76d5c (diff) | |
download | linux-15fc69bbbbbc8c72e5f6cc4e1be0f51283c5448e.tar.bz2 |
ext4: make sure quota gets properly shutdown on error
When we hit an error when enabling quotas and setting inode flags, we do
not properly shutdown quota subsystem despite returning error from
Q_QUOTAON quotactl. This can lead to some odd situations like kernel
using quota file while it is still writeable for userspace. Make sure we
properly cleanup the quota subsystem in case of error.
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: stable@kernel.org
Link: https://lore.kernel.org/r/20211007155336.12493-2-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions