mav 03ea8d9f92 When updating device media size use cached cdevsw pointer.
Using pointer from the cdev directly is dangerous since we have no reference
on it, and it may change any time.  That caused panic if device has gone.

While there, report capacity change only if it really changed.

MFC after:	3 days
2014-09-18 17:25:20 +00:00
..
2014-09-18 13:59:36 +00:00
2014-04-07 20:44:00 +00:00
2014-08-28 00:05:02 +00:00
2014-09-18 17:22:42 +00:00
2014-09-18 10:33:23 +00:00
2014-09-17 17:43:32 +00:00
2014-04-17 12:22:08 +00:00
2014-06-14 12:26:12 +00:00
2014-07-07 00:27:09 +00:00