]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfs_vnode_lock: no need to double-guess caller's intentions here
authorAndriy Gapon <avg@FreeBSD.org>
Sun, 4 Nov 2012 14:15:13 +0000 (14:15 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Sun, 4 Nov 2012 14:15:13 +0000 (14:15 +0000)
commit62eeeb8ff84255e3361c6fdb3e21e99b03b7702d
tree9d0787dd82aad0070854917e51f55d8317776d79
parentd548e8b66fa99d731e81f9aca35798ada8bc6542
zfs_vnode_lock: no need to double-guess caller's intentions here

vn_lock should do the right thing with respect to given vnode lock
flags.  If a caller doesn't mind a doomed vnode, then zfs should deliver.

Reviewed by: kib
MFC after: 19 days
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c