]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a couple of issues that appear to be inherited from the old
authorpfg <pfg@FreeBSD.org>
Wed, 16 May 2012 15:53:38 +0000 (15:53 +0000)
committerpfg <pfg@FreeBSD.org>
Wed, 16 May 2012 15:53:38 +0000 (15:53 +0000)
commitb227d4379e3f747272635a63519b7b82bc3ddbf8
treec9418b3914997e9de0427abee9b4df88bd2e77b5
parent3288f283ffb15bb0d83572220243e790cffe0209
Fix a couple of issues that appear to be inherited from the old
8.x code:
- If the lock cannot be acquired immediately unlocks 'bar' vnode
and then locks both vnodes in order.
- wrong vnode type panics from cache_enter_time after calls by
ext2_lookup.

The fix merges the fixes from ufs/ufs_lookup.c.

Submitted by: Mateusz Guzik
Approved by: jhb@ (mentor)
Reviewed by: kib@
MFC after: 1 week
sys/fs/ext2fs/ext2_lookup.c
sys/fs/ext2fs/ext2_vnops.c