OS-3991: panic in vnode_valid_pn

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2015-03-04T19:27:12.000Z
Updated at:2015-03-05T16:34:07.000Z

People

Created by:Former user
Reported by:Former user
Assigned to:Former user

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2015-03-05T16:34:07.000Z)

Fix Versions

2015-03-05 JavaRing (Release Date: 2015-03-05)

Description

There was an error in the logic where VN_RELE was being performed if the last lookuppnvp failed.
This would mean 0x0+ offsetof(v_lock) was passed to mutex_enter, resulting in the panic.

Instead, VN_RELE should only be called if the lookuppnvp succeed (regardless of whether the vnode passes the match logic).

Comments

Comment by Former user
Created at 2015-03-04T20:43:20.000Z

illumos-joyent commit 4b1c8e9 (branch master, by Patrick Mooney)

OS-3991 panic in vnode_valid_pn
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>