]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_fsmap.c
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / fs / xfs / xfs_fsmap.c
index c7157bc48bd192ea60650577232ea87e8bfbbf02..3d76a9e35870adad0a29b2a04e5ab4c8adf02dc9 100644 (file)
@@ -214,12 +214,12 @@ xfs_getfsmap_is_shared(
        /* Are there any shared blocks here? */
        flen = 0;
        cur = xfs_refcountbt_init_cursor(mp, tp, info->agf_bp,
-                       info->agno, NULL);
+                       info->agno);
 
        error = xfs_refcount_find_shared(cur, rec->rm_startblock,
                        rec->rm_blockcount, &fbno, &flen, false);
 
-       xfs_btree_del_cursor(cur, error ? XFS_BTREE_ERROR : XFS_BTREE_NOERROR);
+       xfs_btree_del_cursor(cur, error);
        if (error)
                return error;