fs: btrfs: Use btrfs_readlink() to implement __btrfs_readlink()
authorQu Wenruo <wqu@suse.com>
Wed, 24 Jun 2020 16:03:03 +0000 (18:03 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 Sep 2020 00:57:27 +0000 (20:57 -0400)
commit92bc179c5f85d0d55f2fecfbcaec8852e84fa0a4
tree46c24fe863713ec758a77edf712f5caf9d1dc524
parentcafffc50ad9b16fb4c8f51ceb6d7998490bcbb09
fs: btrfs: Use btrfs_readlink() to implement __btrfs_readlink()

The existing __btrfs_readlink() can be easily re-implemented using the
extent buffer based btrfs_readlink().

This is the first step to re-implement U-Boot's btrfs code.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
fs/btrfs/btrfs.h
fs/btrfs/inode.c