Subject: Re: CVS commit: src/sys/uvm
To: None <hannken@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 01/28/2008 07:24:06
> Module Name:	src
> Committed By:	hannken
> Date:		Sun Jan 27 17:18:09 UTC 2008
> 
> Modified Files:
> 	src/sys/uvm: uvm_swap.c
> 
> Log Message:
> uvm_swap_init(): Call VOP_OPEN() on swapdev_vp to make I/O through the
>                  swap device work with specnodes.
> 
> Ok: Andrew Doran <ad@netbsd.org>
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.134 -r1.135 src/sys/uvm/uvm_swap.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

you should lock the vnode for VOP_OPEN.

YAMAMOTO Takashi