Konstantin Belousov 20f4e3e158 Make recursive getblk() slightly more useful. Keep the buffer state
intact if getblk() is done on the already owned buffer.  Exit from
brelse() early when the lock recursion is detected, otherwise brelse()
might prematurely destroy the buffer under some circumstances.

Sponsored by:	The FreeBSD Foundation
Noted by:	mckusick
Tested by:	pho
MFC after:	2 weeks
2013-02-27 07:34:09 +00:00
..
2012-11-27 10:25:03 +00:00
2013-02-25 20:51:29 +00:00
2013-02-17 11:47:01 +00:00
2011-04-13 11:28:46 +00:00
2013-02-02 14:19:50 +00:00
2012-08-22 20:01:57 +00:00
2012-03-28 20:58:30 +00:00
2012-11-14 10:33:12 +00:00
2013-02-19 16:35:27 +00:00
2012-12-05 22:32:12 +00:00
2013-01-23 14:37:05 +00:00
2012-06-25 05:41:16 +00:00
2012-09-04 23:16:55 +00:00
2012-02-01 14:34:52 +00:00
2012-01-26 16:35:09 +00:00
2012-09-14 21:28:56 +00:00
2013-02-17 11:49:21 +00:00
2013-02-17 11:48:16 +00:00
2013-02-26 01:00:11 +00:00
2012-11-13 12:53:41 +00:00
2012-11-13 12:53:41 +00:00
2012-01-02 12:12:10 +00:00
2012-10-25 09:05:21 +00:00
2012-11-07 07:00:59 +00:00
2013-02-17 11:56:36 +00:00
2013-02-15 14:22:05 +00:00