Re: [PATCH 04/45] fs: simplify freeze_bdev/thaw_bdev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
  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@xxxxxxxxxx>

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(-)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux