NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/37808: vn_setrecurse violates abstractions



>Number:         37808
>Category:       kern
>Synopsis:       vn_setrecurse violates abstractions
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 19 15:45:00 +0000 2008
>Originator:     Antti Kantee
>Release:        4.99.49
>Organization:
>Environment:
>Description:
vn_setrecurse assumes that each file system exports a lock pointer.
As long as VOP_LOCK remains, anything outside the file system should
not attempt to interpret locking parameters.
>How-To-Repeat:
Try to call vn_setrecurse on a file system which does not export a lock.
>Fix:
workaround: use v_lock if v_vnlock is not available.  However, this
is not an acceptable fix.




Home | Main Index | Thread Index | Old Index