During I am working on the online undelete of subvolume, I found something in the btrfs_delete_subvolume need to be clean or fix. So, the patchset is mostly about the callee or itself of btrfs_delete_subvolume.
Patch 1,3-5 some trivial cleanup Patch 2 fix a problem about qgroup_free_meta_prealloc() in btrfs_subvolume_reserve_metadata() Lu Fengqi (5): btrfs: simplify the send_in_progress check in btrfs_delete_subvolume() btrfs: use a separate variable to store the num_bytes of the qgroup_reserve btrfs: switch update_size to bool in both of btrfs_block_rsv_migrate and btrfs_rsv_add_bytes btrfs: remove a useless return statement in btrfs_block_rsv_add btrfs: Remove root parameter from btrfs_insert_dir_item fs/btrfs/ctree.h | 5 ++--- fs/btrfs/delayed-inode.c | 4 ++-- fs/btrfs/dir-item.c | 8 ++++---- fs/btrfs/extent-tree.c | 36 ++++++++++++++++-------------------- fs/btrfs/file.c | 4 ++-- fs/btrfs/inode.c | 20 +++++++++----------- fs/btrfs/ioctl.c | 3 +-- fs/btrfs/relocation.c | 2 +- fs/btrfs/transaction.c | 7 +++---- 9 files changed, 40 insertions(+), 49 deletions(-) -- 2.18.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html