aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2019-08-27 14:46:29 +0300
committerDavid Sterba <[email protected]>2019-09-09 14:59:16 +0200
commit6ff49c6ad285160b8ba48589ebdbf6cebdd42f74 (patch)
tree579ce68df238df9d3cad0fd8decd98bcc6a7580e /lib/test_overflow.c
parent9bb8407f54f63242d822d6c57f4edb7d1ae2b901 (diff)
btrfs: Make btrfs_find_name_in_ext_backref return struct btrfs_inode_extref
btrfs_find_name_in_ext_backref returns either 0/1 depending on whether it found a backref for the given name. If it returns true then the actual inode_ref struct is returned in one of its parameters. That's pointless, instead refactor the function such that it returns either a pointer to the btrfs_inode_extref or NULL it it didn't find anything. This streamlines the function calling convention. Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions