summaryrefslogtreecommitdiff
path: root/fs/jffs2/background.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2024-06-03 19:04:09 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2024-06-08 02:34:57 +0200
commit4b4b6374dc6134849f2bdca81fa2945b6ed6d9fc (patch)
tree7f1e5e167d2a68634b88bc6cd22f2c08b79f8cf6 /fs/jffs2/background.c
parent59ebc33201237bf38e5adca3794716100660c5b4 (diff)
gfs2: Revert "ignore negated quota changes"
Commit 4c6a08125f22 ("gfs2: ignore negated quota changes") skips quota changes with qd_change == 0 instead of writing them back, which leaves behind non-zero qd_change values in the affected slots. The kernel then assumes that those slots are unused, while the qd_change values on disk indicate that they are indeed still in use. The next time the filesystem is mounted, those invalid slots are read in from disk, which will cause inconsistencies. Revert that commit to avoid filesystem corruption. This reverts commit 4c6a08125f2249531ec01783a5f4317d7342add5. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/jffs2/background.c')
0 files changed, 0 insertions, 0 deletions