OpenSolaris

Printable Version Enter a New Search
Bug ID 6806417
Synopsis missing VN_RELE in rfs4_op_remove
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:nfsv4
Keywords
Responsible Engineer James Wahlig
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_110
Fixed In snv_110
Release Fixed solaris_nevada(snv_110)
Related Bugs 6746290 , 6881436
Submit Date 17-February-2009
Last Update Date 11-March-2009
Description
While trying to find the root cause to CR 6711844 jurassic-x4600 assert: vp->v_shrlocks == 0L, file: ../../common/fs/vnode.c, I found coding errors in rfs4_op_remove().

On an error condition, we don't clean up properly before exiting.  We are missing a VN_RELE() among other things.  This improper clean up could lead to a panic, hang or a file system that could not be unmounted.
Work Around
N/A
Comments
similar bug (missing to do nbl_end_crit() exists in the rfs_write() path and
will be fixed via 6746290