Linux/linux 18915b5 — fs/ext4 ioctl.c
ext4: prohibit fstrim in norecovery mode The ext4 fstrim implementation uses the block bitmaps to find free space that can be discarded. If we haven't replayed the journal, the bitmaps will be stale and we absolutely *cannot* use stale metadata to zap the underlying storage. Signed-off-by: Darrick J. Wong <darrick.wong at oracle.com> Signed-off-by: Theodore Ts'o <tytso at mit.edu>
Delta | File | |
---|---|---|
+7 | -0 | fs/ext4/ioctl.c |
+7 | -0 | 1 files |