]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/xfs/xfs_notify_failure.c
xfs: fix SB_BORN check in xfs_dax_notify_failure()
[people/ms/linux.git] / fs / xfs / xfs_notify_failure.c
index 01e2721589c42d6886d88420d1b956ddebc5092e..5b1f9a24ed5917a747daf2d42df87adc8cca12b6 100644 (file)
@@ -175,7 +175,7 @@ xfs_dax_notify_failure(
        u64                     ddev_start;
        u64                     ddev_end;
 
-       if (!(mp->m_sb.sb_flags & SB_BORN)) {
+       if (!(mp->m_super->s_flags & SB_BORN)) {
                xfs_warn(mp, "filesystem is not ready for notify_failure()!");
                return -EIO;
        }