Move another range check to use RMAN_IS_DEFAULT_RANGE().

This commit is contained in:
Justin Hibbits 2016-02-27 16:27:48 +00:00
parent 90bae55a77
commit f7dc5935d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296141

View File

@ -674,7 +674,7 @@ lbc_alloc_resource(device_t bus, device_t child, int type, int *rid,
int needactivate;
/* We only support default allocations. */
if (start != 0ul || end != ~0ul)
if (!RMAN_IS_DEFAULT_RANGE(start, end))
return (NULL);
sc = device_get_softc(bus);