summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-09-15 02:23:24 +0200
committerDavid Sterba <dsterba@suse.com>2016-09-26 18:05:28 +0200
commit6b722c1747d533ac6d4df110dc8233db46918b65 (patch)
tree53c6fd2e8890e34628c1d4ea9f3df0f3c0cedf74 /fs/btrfs/delayed-inode.c
parentBtrfs: add error handling for extent buffer in print tree (diff)
downloadlinux-6b722c1747d533ac6d4df110dc8233db46918b65.tar.xz
linux-6b722c1747d533ac6d4df110dc8233db46918b65.zip
Btrfs: improve check_node to avoid reading corrupted nodes
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>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions