btrfs-progs/check
Su Yue 42f7017ee6 btrfs-progs: check: lowmem: check symlinks with append/immutable flags
Define new error bit INODE_FLAGS_ERROR to represents invalid inode
flags error.

Symlinks should never have append/immutable flags set.
While checking inodes, if found a symlink with append/immutable
flags, report and record the inode flags error.

This is for lowmem mode.

Issue: #133
Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-06-07 16:37:38 +02:00
..
main.c btrfs-progs: check: check symlinks with append/immutable flags 2018-06-07 16:37:37 +02:00
mode-common.c btrfs-progs: check: lowmem: exclude extents of metadata blocks 2018-06-07 16:35:55 +02:00
mode-common.h btrfs-progs: check: lowmem: exclude extents of metadata blocks 2018-06-07 16:35:55 +02:00
mode-lowmem.c btrfs-progs: check: lowmem: check symlinks with append/immutable flags 2018-06-07 16:37:38 +02:00
mode-lowmem.h btrfs-progs: check: lowmem: check symlinks with append/immutable flags 2018-06-07 16:37:38 +02:00
mode-original.h btrfs-progs: check: check symlinks with append/immutable flags 2018-06-07 16:37:37 +02:00