ext4: prevent delalloc to nodelalloc on remount
authorNicolas Bretz <bretznic@gmail.com>
Mon, 14 Oct 2024 03:41:43 +0000 (20:41 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Nov 2024 04:54:15 +0000 (23:54 -0500)
commit97f5ec3b166db4e47ee2c0bdb0deb027413d4f2a
tree4b9b18d6e78337a0dff3a833ad2d66ba49de876b
parentabe1ac7ca84236513a3d8ede02cc47584437f24f
ext4: prevent delalloc to nodelalloc on remount

Implemented the suggested solution mentioned in the bug
https://bugzilla.kernel.org/show_bug.cgi?id=218820

Preventing the disabling of delayed allocation mode on remount.
delalloc to nodelalloc not permitted anymore
nodelalloc to delalloc permitted, not affected

Signed-off-by: Nicolas Bretz <bretznic@gmail.com>
Link: https://patch.msgid.link/20241014034143.59779-1-bretznic@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c