summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-04-11 10:57:15 +0200
committerDavid Sterba <dsterba@suse.com>2017-04-18 14:07:27 +0200
commit9986277e0e4ce10fd37bf853fe22ba429a967a45 (patch)
tree86825014e730ea7a59512c8f8526b260ba00cf2a /fs/btrfs/tree-log.c
parentbtrfs: qgroup: Fix qgroup corruption caused by inode_cache mount option (diff)
downloadlinux-9986277e0e4ce10fd37bf853fe22ba429a967a45.tar.xz
linux-9986277e0e4ce10fd37bf853fe22ba429a967a45.zip
Btrfs: handle only applicable errors returned by btrfs_get_extent
btrfs_get_extent() never returns NULL pointers, so this code introduces a static checker warning. The btrfs_get_extent() is a bit complex, but trust me that it doesn't return NULLs and also if it did we would trigger the BUG_ON(!em) before the last return statement. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [ updated subject ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions