On Wed, 09 Aug 2023 15:05:33 -0700, Christoph Hellwig wrote: > The xfs_fs_free prototype formatting is a weird mix of the classic XFS > style and the Linux style. Fix it up to be consistent. > > I've completely reshuffled that branch now: (1) bd_super removal (2) ->kill_sb() fixes (3) setup_bdev_super() work (open devices after sb creation) (4) fs_holder_ops rework (5) exclusive sb creation I think that's the most natural order. That involved quite a bit of massaging, so please make sure that everything's in proper order. The most sensitive and error prone part of the reordering is that before the switch from fs_type to sb as holder took place prior to this series. Whereas due to the reordering the switch now takes place after this series. This is good though because we can't use setup_bdev_super() correctly anyway before we have the ->kill_sb() changes done. git rebase -i v6.5-rc1 -x "make fs/" builds cleanly. Please double check! --- Applied to the vfs.super branch of the vfs/vfs.git tree. Patches in the vfs.super branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.super [01/13] xfs: reformat the xfs_fs_free prototype https://git.kernel.org/vfs/vfs/c/183f60c58f51 [02/13] xfs: remove a superfluous s_fs_info NULL check in xfs_fs_put_super https://git.kernel.org/vfs/vfs/c/94d1bb71d395 [03/13] xfs: free the xfs_mount in ->kill_sb https://git.kernel.org/vfs/vfs/c/b92fea73ce6a [04/13] xfs: remove xfs_blkdev_put https://git.kernel.org/vfs/vfs/c/3b6c117834c2 [05/13] xfs: close the RT and log block devices in xfs_free_buftarg https://git.kernel.org/vfs/vfs/c/6d4e81f94e80 [06/13] xfs: close the external block devices in xfs_mount_free https://git.kernel.org/vfs/vfs/c/bfeb8750e6fe [07/13] xfs: document the invalidate_bdev call in invalidate_bdev https://git.kernel.org/vfs/vfs/c/e4676171bad6 [08/13] ext4: close the external journal device in ->kill_sb https://git.kernel.org/vfs/vfs/c/e1a1b0fba97b [09/13] exfat: don't RCU-free the sbi https://git.kernel.org/vfs/vfs/c/6a3f5dee46f6 [10/13] exfat: free the sbi and iocharset in ->kill_sb https://git.kernel.org/vfs/vfs/c/cc0313e8135e [11/13] ntfs3: rename put_ntfs ntfs3_free_sbi https://git.kernel.org/vfs/vfs/c/34371bb44afc [12/13] ntfs3: don't call sync_blockdev in ntfs_put_super https://git.kernel.org/vfs/vfs/c/91952e99005b [13/13] ntfs3: free the sbi in ->kill_sb https://git.kernel.org/vfs/vfs/c/5fb25fde7dee