diff options
author | Josef Bacik | 2019-12-18 17:20:27 -0500 |
---|---|---|
committer | David Sterba | 2020-01-08 14:43:34 +0100 |
commit | 045d3967b6920b663fc010ad414ade1b24143bd1 (patch) | |
tree | 7871a4be1982aa94d1fc7d5efa517da74a58383a /net | |
parent | de7999afedff02c6631feab3ea726a0e8f8c3d40 (diff) |
btrfs: rework arguments of btrfs_unlink_subvol
btrfs_unlink_subvol takes the name of the dentry and the root objectid
based on what kind of inode this is, either a real subvolume link or a
empty one that we inherited as a snapshot. We need to fix how we unlink
in the case for BTRFS_EMPTY_SUBVOL_DIR_OBJECTID in the future, so rework
btrfs_unlink_subvol to just take the dentry and handle getting the right
objectid given the type of inode this is. There is no functional change
here, simply pushing the work into btrfs_unlink_subvol() proper.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions