diff options
author | yangerkun <yangerkun@huawei.com> | 2019-02-11 00:35:06 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-02-11 00:35:06 -0500 |
commit | abdc644e8cbac2e9b19763680e5a7cf9bab2bee7 (patch) | |
tree | 424a943d54e0881e475a91e18cfc00a575e055f1 /security | |
parent | aa507b5faf38784defe49f5e64605ac3c4425e26 (diff) |
ext4: add mask of ext4 flags to swap
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions