summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-09-15 03:23:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-17 00:16:07 +0300
commitd6719cf116b2fc8a7f51e84430c28febfac1eded (patch)
tree95295de6e689196b91d0e88080f73ceabf0fc2be /fs/btrfs/extent-tree.c
parent731b8667952815844de39412fb202292cf679f38 (diff)
downloadlinux-d6719cf116b2fc8a7f51e84430c28febfac1eded.tar.xz
Btrfs: improve check_node to avoid reading corrupted nodes
commit 6b722c1747d533ac6d4df110dc8233db46918b65 upstream. We need to check items in a node to make sure that we're reading a valid one, otherwise we could get various crashes while processing delayed_refs. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions