]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: btrfs: Introduce function to resolve path in one subvolume
authorQu Wenruo <wqu@suse.com>
Wed, 24 Jun 2020 16:03:12 +0000 (18:03 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 Sep 2020 01:00:36 +0000 (21:00 -0400)
commit8098da7094b181b92e5a6fb284e161e012eca7d7
treecbe78a36495fecfd635519f5c1d83b5ee7c9078d
parente3427184f38a3a5d2ac9a3c200a5c3fc17592ec6
fs: btrfs: Introduce function to resolve path in one subvolume

This patch introduces a new function, get_path_in_subvolume(), which
resolves inode number into path inside a subvolume.

This function will be later used for btrfs subvolume list functionality.

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