Subject: CVS commit: src/sys/ufs/ffs
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 01/30/2008 17:20:04
Module Name:	src
Committed By:	hannken
Date:		Wed Jan 30 17:20:04 UTC 2008

Modified Files:
	src/sys/ufs/ffs: ffs_snapshot.c

Log Message:
Make it work after lockmgr -> vlockmgr conversion:

- Initialize si_vnlock in si_mount_init().
  - Also initialize vl_recursecnt to zero.
- Destroy it only in si_mount_dtor().
- Simplify the v_lock <-> si_vnlock exchange.
- Don't abuse the overall error variable for LK_NOWAIT errors.
- ffs_snapremove: release the vnode one instead of three times.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 src/sys/ufs/ffs/ffs_snapshot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.