summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-05-15 15:39:42 +0200
committerJan Kara <jack@suse.cz>2019-05-20 10:50:48 +0200
commit6c71b489ecfd927966571348f4e4135169a9fbd5 (patch)
treec032d4200b8022641cea1d5c19e616545c24cd5f /net/tipc
parentext2: Merge loops in ext2_xattr_set() (diff)
downloadlinux-6c71b489ecfd927966571348f4e4135169a9fbd5.tar.xz
linux-6c71b489ecfd927966571348f4e4135169a9fbd5.zip
ext2: Strengthen xattr block checks
Check every entry in xattr block for validity in ext2_xattr_set() to detect on disk corruption early. Also since e_value_block field in xattr entry is never != 0 in a valid filesystem, just remove checks for it once we have established entries are valid. Reviewed-by: Chengguang Xu <cgxu519@zoho.com.cn> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions