]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/xfs/xfs_extent_busy.c
xfs: remote attribute blocks aren't really userdata
[mirror_ubuntu-bionic-kernel.git] / fs / xfs / xfs_extent_busy.c
index c263e079273e445d61006ce7d01a436d8467c3d3..162dc186cf045c38ee31288e87025e7879eb039e 100644 (file)
@@ -384,7 +384,7 @@ restart:
                 * If this is a metadata allocation, try to reuse the busy
                 * extent instead of trimming the allocation.
                 */
-               if (!args->userdata &&
+               if (!xfs_alloc_is_userdata(args->datatype) &&
                    !(busyp->flags & XFS_EXTENT_BUSY_DISCARDED)) {
                        if (!xfs_extent_busy_update_extent(args->mp, args->pag,
                                                          busyp, fbno, flen,