]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix SB_BORN check in xfs_dax_notify_failure()
authorDan Williams <dan.j.williams@intel.com>
Fri, 26 Aug 2022 17:18:01 +0000 (10:18 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 11 Sep 2022 23:22:29 +0000 (16:22 -0700)
commit2966416193ab05d3a2c7cec331a8263921f30d37
tree6152c777b5010694fbff22a2f4760c38e5440ae7
parent0f3e39054020adc8150a0b20cc09d1c88f1b7e26
xfs: fix SB_BORN check in xfs_dax_notify_failure()

The SB_BORN flag is stored in the vfs superblock, not xfs_sb.

Link: https://lkml.kernel.org/r/166153428094.2758201.7936572520826540019.stgit@dwillia2-xfh.jf.intel.com
Fixes: 7f09e6d03fac ("xfs: implement ->notify_failure() for XFS")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Shiyang Ruan <ruansy.fnst@fujitsu.com>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Goldwyn Rodrigues <rgoldwyn@suse.de>
Cc: Jane Chu <jane.chu@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Ritesh Harjani <riteshh@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/xfs/xfs_notify_failure.c