]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r235508
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 May 2012 02:43:28 +0000 (02:43 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 May 2012 02:43:28 +0000 (02:43 +0000)
commita8cef9c4881c82972a55e21902d1c509cf24f94c
tree2b516804fd0bce71897e1cd72625eb33b37b965d
parenta8f901700754b861c4049c80e0c9fd0da730da29
MFC: r235508

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 changes from ufs/ufs_lookup.c.

Submitted by: Mateusz Guzik
Approved by: jhb (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/9@235820 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/ext2fs/ext2_lookup.c
sys/fs/ext2fs/ext2_vnops.c