[PATCH 04/45] fs: simplify freeze_bdev/thaw_bdev
Chao Yu
yuchao0 at huawei.com
Wed Nov 25 01:07:41 EST 2020
On 2020/11/24 21:27, Christoph Hellwig wrote:
> Store the frozen superblock in struct block_device to avoid the awkward
> interface that can return a sb only used a cookie, an ERR_PTR or NULL.
>
> Signed-off-by: Christoph Hellwig<hch at lst.de>
> ---
> drivers/md/dm-core.h | 5 -----
> drivers/md/dm.c | 20 ++++++--------------
> fs/block_dev.c | 39 ++++++++++++++++-----------------------
> fs/buffer.c | 2 +-
> fs/ext4/ioctl.c | 2 +-
> fs/f2fs/file.c | 14 +++++---------
For f2fs part,
Acked-by: Chao Yu <yuchao0 at huawei.com>
Thanks,
> fs/xfs/xfs_fsops.c | 7 ++-----
> include/linux/blk_types.h | 1 +
> include/linux/blkdev.h | 4 ++--
> 9 files changed, 34 insertions(+), 60 deletions(-)
More information about the linux-mtd
mailing list