summaryrefslogtreecommitdiff
path: root/fs/ufs/namei.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-12-18 17:20:27 -0500
committerDavid Sterba <dsterba@suse.com>2020-01-08 14:43:34 +0100
commit045d3967b6920b663fc010ad414ade1b24143bd1 (patch)
tree7871a4be1982aa94d1fc7d5efa517da74a58383a /fs/ufs/namei.c
parentde7999afedff02c6631feab3ea726a0e8f8c3d40 (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 'fs/ufs/namei.c')
0 files changed, 0 insertions, 0 deletions