Merge branch 'for-linus' into for-next
[linux-2.6-microblaze.git] / fs / xfs / xfs_extent_busy.c
index 2183d87..3991e59 100644 (file)
@@ -367,7 +367,7 @@ restart:
                 * If this is a metadata allocation, try to reuse the busy
                 * extent instead of trimming the allocation.
                 */
-               if (!xfs_alloc_is_userdata(args->datatype) &&
+               if (!(args->datatype & XFS_ALLOC_USERDATA) &&
                    !(busyp->flags & XFS_EXTENT_BUSY_DISCARDED)) {
                        if (!xfs_extent_busy_update_extent(args->mp, args->pag,
                                                          busyp, fbno, flen,