This patchset can be fetch from my github: https://github.com/Damenly/btrfs-progs/commits/odd_inode_flags symlinks should never have append/immutable attributes. This patchset enables btrfs check to verify such corruption. PATCH[1] is for original mode. PATCH[2] is for original mode. PATCH[3] adds a test image. For further use, the directory is called odd-inode-flags. #issue 133 Su Yue (3): btrfs-progs: check: check symlinks with append/immutable flags btrfs-progs: lowmem: check symlinks with append/immutable flags btrfs-progs: fsck-tests: add test case to check symlinks with odd flags check/main.c | 7 +++++++ check/mode-lowmem.c | 10 ++++++++++ check/mode-original.h | 1 + .../034-odd-inode-flags/default_case.img | Bin 0 -> 4096 bytes tests/fsck-tests/034-odd-inode-flags/test.sh | 15 +++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 tests/fsck-tests/034-odd-inode-flags/default_case.img create mode 100755 tests/fsck-tests/034-odd-inode-flags/test.sh -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
