add vnclose function
This commit is contained in:
parent
ed7cdf72a7
commit
8f09bb0623
13
sys/dev/vn.c
13
sys/dev/vn.c
@ -153,6 +153,19 @@ vnopen(dev, flags, mode, p)
|
||||
return(0);
|
||||
}
|
||||
|
||||
int
|
||||
vnclose(dev, flags, mode, p)
|
||||
dev_t dev;
|
||||
int flags, mode;
|
||||
struct proc *p;
|
||||
{
|
||||
#ifdef DEBUG
|
||||
if (vndebug & VDB_FOLLOW)
|
||||
printf("vnclose(%x, %x, %x, %x)\n", dev, flags, mode, p);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Break the request into bsize pieces and submit using VOP_BMAP/VOP_STRATEGY.
|
||||
* Note that this driver can only be used for swapping over NFS on the hp
|
||||
|
@ -153,6 +153,19 @@ vnopen(dev, flags, mode, p)
|
||||
return(0);
|
||||
}
|
||||
|
||||
int
|
||||
vnclose(dev, flags, mode, p)
|
||||
dev_t dev;
|
||||
int flags, mode;
|
||||
struct proc *p;
|
||||
{
|
||||
#ifdef DEBUG
|
||||
if (vndebug & VDB_FOLLOW)
|
||||
printf("vnclose(%x, %x, %x, %x)\n", dev, flags, mode, p);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Break the request into bsize pieces and submit using VOP_BMAP/VOP_STRATEGY.
|
||||
* Note that this driver can only be used for swapping over NFS on the hp
|
||||
|
Loading…
Reference in New Issue
Block a user