]> Git Repo - linux.git/blobdiff - fs/xfs/xfs_itable.c
don't pass nameidata to ->follow_link()
[linux.git] / fs / xfs / xfs_itable.c
index 82e314258f739a1ff02d20f6c15c6aae5f593f2b..80429891dc9b59dcf893fc8cc4dad9fe85079c7b 100644 (file)
@@ -229,7 +229,7 @@ xfs_bulkstat_grab_ichunk(
        error = xfs_inobt_get_rec(cur, irec, &stat);
        if (error)
                return error;
-       XFS_WANT_CORRUPTED_RETURN(stat == 1);
+       XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, stat == 1);
 
        /* Check if the record contains the inode in request */
        if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) {
This page took 0.025262 seconds and 4 git commands to generate.