android_kernel_oneplus_msm8998/fs/ext4
Darrick J. Wong 48fda95006 ext4: prohibit fstrim in norecovery mode
[ Upstream commit 18915b5873f07e5030e6fb108a050fa7c71c59fb ]

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@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-27 09:33:58 +02:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c
crypto.c
crypto_fname.c
crypto_key.c
crypto_policy.c
dir.c
ext4.h ext4: avoid running out of journal credits when appending to an inline file 2018-11-21 09:27:36 +01:00
ext4_crypto.h
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h ext4: fix NULL pointer dereference while journal is aborted 2019-04-03 06:23:15 +02:00
extents.c
extents_status.c
extents_status.h
file.c ext4: fix data corruption caused by unaligned direct AIO 2019-04-03 06:23:15 +02:00
fsync.c
hash.c
ialloc.c
indirect.c ext4: cleanup bh release code in ext4_ind_remove_space() 2019-04-27 09:33:47 +02:00
inline.c ext4: fix a potential fiemap/page fault deadlock w/ inline_data 2019-01-16 22:16:12 +01:00
inode.c
ioctl.c ext4: prohibit fstrim in norecovery mode 2019-04-27 09:33:58 +02:00
Kconfig
Makefile
mballoc.c
mballoc.h
migrate.c
mmp.c
move_extent.c
namei.c ext4: fix buffer leak in __ext4_read_dirblock() on error path 2018-11-21 09:27:44 +01:00
page-io.c
readpage.c
resize.c ext4: report real fs size after failed resize 2019-04-27 09:33:56 +02:00
super.c ext4: force inode writes when nfsd calls commit_metadata() 2019-01-13 10:05:30 +01:00
symlink.c
sysfs.c
truncate.h
xattr.c ext4: fix buffer leak in ext4_xattr_move_to_block() on error path 2018-11-21 09:27:43 +01:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c