All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs-progs: check: verify symlinks with append/immutable flags
@ 2018-05-14 10:29 Su Yue
  2018-05-14 10:29 ` [PATCH 1/3] btrfs-progs: check: check " Su Yue
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Su Yue @ 2018-05-14 10:29 UTC (permalink / raw)
  To: linux-btrfs; +Cc: suy.fnst

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




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-05-14 12:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 10:29 [PATCH 0/3] btrfs-progs: check: verify symlinks with append/immutable flags Su Yue
2018-05-14 10:29 ` [PATCH 1/3] btrfs-progs: check: check " Su Yue
2018-05-14 11:18   ` Nikolay Borisov
2018-05-14 12:12     ` Su Yue
2018-05-14 11:22   ` Qu Wenruo
2018-05-14 11:52     ` Su Yue
2018-05-14 10:29 ` [PATCH 2/3] btrfs-progs: lowmem: " Su Yue
2018-05-14 11:17   ` Nikolay Borisov
2018-05-14 12:04     ` Su Yue
2018-05-14 11:27   ` Qu Wenruo
2018-05-14 10:29 ` [PATCH 3/3] btrfs-progs: fsck-tests: add test case to check symlinks with odd flags Su Yue

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.