]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_error.h
xfs: pass mp to XFS_WANT_CORRUPTED_RETURN
[karo-tx-linux.git] / fs / xfs / xfs_error.h
index 13eeca300281d212a9982de169a1b263303374c4..c0394ed126fcc891df140fb6536b94ebdb520d01 100644 (file)
@@ -52,13 +52,13 @@ extern void xfs_verifier_error(struct xfs_buf *bp);
                } \
        }
 
-#define        XFS_WANT_CORRUPTED_RETURN(x)    \
+#define        XFS_WANT_CORRUPTED_RETURN(mp, x)        \
        { \
                int fs_is_ok = (x); \
                ASSERT(fs_is_ok); \
                if (unlikely(!fs_is_ok)) { \
                        XFS_ERROR_REPORT("XFS_WANT_CORRUPTED_RETURN", \
-                                        XFS_ERRLEVEL_LOW, NULL); \
+                                        XFS_ERRLEVEL_LOW, mp); \
                        return -EFSCORRUPTED; \
                } \
        }