Deleted Added
full compact
99c99
< __FBSDID("$FreeBSD: head/sys/dev/mpt/mpt.c 165814 2007-01-05 22:49:05Z mjacob $");
---
> __FBSDID("$FreeBSD: head/sys/dev/mpt/mpt.c 169293 2007-05-05 20:18:24Z mjacob $");
706a707,708
> MPT_LOCK_ASSERT(mpt);
>
1174c1176
< KASSERT(MPT_OWNED(mpt), ("mpt_free_request: mpt not locked\n"));
---
> MPT_LOCK_ASSERT(mpt);
1223c1225
< KASSERT(MPT_OWNED(mpt), ("mpt_get_request: mpt not locked\n"));
---
> MPT_LOCK_ASSERT(mpt);
2110c2112
< int val;
---
> int val, error;
2116a2119
> MPT_LOCK(mpt);
2121a2125
> MPT_UNLOCK(mpt);
2135c2139,2144
< return (mpt_configure_ioc(mpt, 0, 0));
---
>
> MPT_LOCK(mpt);
> error = mpt_configure_ioc(mpt, 0, 0);
> MPT_UNLOCK(mpt);
>
> return (error);
2145a2155
> MPT_LOCK(mpt);
2179a2190
> MPT_UNLOCK(mpt);
2181a2193
> MPT_UNLOCK(mpt);