android_kernel_samsung_msm8976/fs/ext4
yangerkun 14e53ad8d7 ext4: add mask of ext4 flags to swap
commit abdc644e8cbac2e9b19763680e5a7cf9bab2bee7 upstream.

The reason is that while swapping two inode, we swap the flags too.
Some flags such as EXT4_JOURNAL_DATA_FL can really confuse the things
since we're not resetting the address operations structure.  The
simplest way to keep things sane is to restrict the flags that can be
swapped.

Signed-off-by: yangerkun <yangerkun@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-27 22:11:25 +02:00
..
acl.c ext4: Don't clear SGID when inheriting ACLs 2019-07-27 21:44:57 +02:00
acl.h
balloc.c ext4: check for allocation block validity with block group locked 2019-07-27 21:52:56 +02:00
bitmap.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
block_validity.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
dir.c ext4: force revalidation of directory pointer after seekdir(2) 2019-07-27 21:52:03 +02:00
ext4.h ext4: add mask of ext4 flags to swap 2019-07-27 22:11:25 +02:00
ext4_extents.h ext4: verify the depth of extent tree in ext4_find_extent() 2019-07-27 21:51:42 +02:00
ext4_jbd2.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
ext4_jbd2.h ext4: fix NULL pointer dereference while journal is aborted 2019-07-27 22:08:53 +02:00
extents.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
extents_status.c ext4: fix data corruption caused by unwritten and delayed extents 2015-05-13 05:15:42 -07:00
extents_status.h
file.c ext4: fix data corruption caused by unaligned direct AIO 2019-07-27 22:08:54 +02:00
fsync.c
hash.c
ialloc.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
indirect.c ext4: protect i_disksize update by i_data_sem in direct write path 2019-07-27 21:52:01 +02:00
inline.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
inode.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
ioctl.c ext4: add mask of ext4 flags to swap 2019-07-27 22:11:25 +02:00
Kconfig
Makefile Import latest Samsung release 2017-04-18 03:43:52 +02:00
mballoc.c ext4: only look at the bg_flags field if it is valid 2019-07-27 21:52:00 +02:00
mballoc.h
migrate.c ext4: correctly migrate a file with a hole at the beginning 2015-08-03 09:29:43 -07:00
mmp.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
move_extent.c vfs: pull ext4's double-i_mutex-locking into common code 2019-07-27 22:11:21 +02:00
namei.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
page-io.c
resize.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
super.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
symlink.c
truncate.h
xattr.c ext4: Replace open coded mdata csum feature to helper function 2019-07-27 22:11:23 +02:00
xattr.h ext4: add extra checks to ext4_xattr_block_get() 2019-07-27 21:52:02 +02:00
xattr_security.c
xattr_trusted.c
xattr_user.c