aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-08-27 14:46:28 +0300
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:16 +0200
commit9bb8407f54f63242d822d6c57f4edb7d1ae2b901 (patch)
treed30e8c575c2f2504646cfd768cfd32745214ce9a /fs/ext4
parentbtrfs: move dev_stats helpers to volumes.c (diff)
downloadlinux-dev-9bb8407f54f63242d822d6c57f4edb7d1ae2b901.tar.xz
linux-dev-9bb8407f54f63242d822d6c57f4edb7d1ae2b901.zip
btrfs: Make btrfs_find_name_in_backref return btrfs_inode_ref struct
btrfs_find_name_in_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_ref or NULL it it didn't find anything. This streamlines the function calling convention. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions