.. | .. |
---|
33 | 33 | struct rb_node **rbp; |
---|
34 | 34 | struct rb_node *parent = NULL; |
---|
35 | 35 | |
---|
36 | | - new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_SLEEP); |
---|
| 36 | + new = kmem_zalloc(sizeof(struct xfs_extent_busy), 0); |
---|
37 | 37 | new->agno = agno; |
---|
38 | 38 | new->bno = bno; |
---|
39 | 39 | new->length = len; |
---|
.. | .. |
---|
367 | 367 | * If this is a metadata allocation, try to reuse the busy |
---|
368 | 368 | * extent instead of trimming the allocation. |
---|
369 | 369 | */ |
---|
370 | | - if (!xfs_alloc_is_userdata(args->datatype) && |
---|
| 370 | + if (!(args->datatype & XFS_ALLOC_USERDATA) && |
---|
371 | 371 | !(busyp->flags & XFS_EXTENT_BUSY_DISCARDED)) { |
---|
372 | 372 | if (!xfs_extent_busy_update_extent(args->mp, args->pag, |
---|
373 | 373 | busyp, fbno, flen, |
---|