Commit bd2c38c
ext4: Make sure quota files are not grabbed accidentally
If ext4 filesystem is corrupted so that quota files are linked from
directory hirerarchy, bad things can happen. E.g. quota files can get
corrupted or deleted. Make sure we are not grabbing quota file inodes
when we expect normal inodes.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20210812133122.26360-1-jack@suse.cz1 parent b2bbb92 commit bd2c38c
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4603 | 4603 | | |
4604 | 4604 | | |
4605 | 4605 | | |
| 4606 | + | |
4606 | 4607 | | |
4607 | 4608 | | |
4608 | 4609 | | |
| |||
4613 | 4614 | | |
4614 | 4615 | | |
4615 | 4616 | | |
4616 | | - | |
| 4617 | + | |
| 4618 | + | |
| 4619 | + | |
| 4620 | + | |
4617 | 4621 | | |
4618 | | - | |
| 4622 | + | |
4619 | 4623 | | |
4620 | 4624 | | |
4621 | 4625 | | |
| |||
0 commit comments