commit | abdc644e8cbac2e9b19763680e5a7cf9bab2bee7 | [log] [tgz] |
---|---|---|
author | yangerkun <[email protected]> | Mon Feb 11 00:35:06 2019 -0500 |
committer | Theodore Ts'o <[email protected]> | Mon Feb 11 00:35:06 2019 -0500 |
tree | 424a943d54e0881e475a91e18cfc00a575e055f1 | |
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]