summaryrefslogtreecommitdiff
path: root/fs/dax.c
diff options
context:
space:
mode:
authorGu Jinxiang <gujx@cn.fujitsu.com>2018-07-04 18:16:39 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:55 +0200
commit315409b0098fb2651d86553f0436b70502b29bb2 (patch)
tree253fe1458aade4cc3ea561c2e663f173dae807dc /fs/dax.c
parentb0132a3be5daf84116833542717ff5692f51640e (diff)
downloadlinux-315409b0098fb2651d86553f0436b70502b29bb2.tar.gz
linux-315409b0098fb2651d86553f0436b70502b29bb2.tar.bz2
linux-315409b0098fb2651d86553f0436b70502b29bb2.zip
btrfs: validate type when reading a chunk
Reported in https://bugzilla.kernel.org/show_bug.cgi?id=199839, with an image that has an invalid chunk type but does not return an error. Add chunk type check in btrfs_check_chunk_valid, to detect the wrong type combinations. Link: https://bugzilla.kernel.org/show_bug.cgi?id=199839 Reported-by: Xu Wen <wen.xu@gatech.edu> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions