xfs_alloc_trace_busy(
char *name, /* function tag string */
char *str, /* additional string */
- xfs_mount_t *mp, /* file system mount point */
+ xfs_mount_t *mp, /* file system mount poing */
xfs_agnumber_t agno, /* allocation group number */
xfs_agblock_t agbno, /* a.g. relative block number */
xfs_extlen_t len, /* length of extent */
} else
agbp = NULL;
- /* If this is a metadata preferred pag and we are user data
+ /* If this is a metadata prefered pag and we are user data
* then try somewhere else if we are not being asked to
* try harder at this point
*/
/*
* Allocate as many blocks as possible at once.
*/
- if ((error = xfs_alloc_ag_vextent(&targs))) {
- xfs_trans_brelse(tp, agflbp);
+ if ((error = xfs_alloc_ag_vextent(&targs)))
return error;
- }
/*
* Stop if we run out. Won't happen if callers are obeying
* the restrictions correctly. Can happen for free calls
return error;
}
}
- xfs_trans_brelse(tp, agflbp);
args->agbp = agbp;
return 0;
}
/*
* AG Busy list management
* The busy list contains block ranges that have been freed but whose
- * transactions have not yet hit disk. If any block listed in a busy
+ * transacations have not yet hit disk. If any block listed in a busy
* list is reused, the transaction that freed it must be forced to disk
* before continuing to use the block.
*