diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2016-09-15 03:23:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-17 00:16:07 +0300 |
commit | d6719cf116b2fc8a7f51e84430c28febfac1eded (patch) | |
tree | 95295de6e689196b91d0e88080f73ceabf0fc2be /fs/btrfs/extent-tree.c | |
parent | 731b8667952815844de39412fb202292cf679f38 (diff) | |
download | linux-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