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

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



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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.