]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_rtalloc.c
xfs: remove the mappedbno argument to xfs_dir3_leafn_read
[linux.git] / fs / xfs / xfs_rtalloc.c
index 5fa4db3c3e320b39277ad576946a1cc934b4ea6e..d42b5a2047e03bfcb902f284e06cbc97b69f7b84 100644 (file)
@@ -792,8 +792,7 @@ xfs_growfs_rt_alloc(
                 */
                nmap = 1;
                error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks,
-                                       XFS_BMAPI_METADATA, resblks, &map,
-                                       &nmap);
+                                       XFS_BMAPI_METADATA, 0, &map, &nmap);
                if (!error && nmap < 1)
                        error = -ENOSPC;
                if (error)
@@ -865,7 +864,7 @@ xfs_alloc_rsum_cache(
         * lower bound on the minimum level with any free extents. We can
         * continue without the cache if it couldn't be allocated.
         */
-       mp->m_rsum_cache = kmem_zalloc_large(rbmblocks, KM_SLEEP);
+       mp->m_rsum_cache = kmem_zalloc_large(rbmblocks, 0);
        if (!mp->m_rsum_cache)
                xfs_warn(mp, "could not allocate realtime summary cache");
 }
@@ -963,7 +962,7 @@ xfs_growfs_rt(
        /*
         * Allocate a new (fake) mount/sb.
         */
-       nmp = kmem_alloc(sizeof(*nmp), KM_SLEEP);
+       nmp = kmem_alloc(sizeof(*nmp), 0);
        /*
         * Loop over the bitmap blocks.
         * We will do everything one bitmap block at a time.