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



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux