Minor cleanup, remove unneeded XXX comments and unused re-define.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
eb962424ba
commit
fc2c3afee0
@ -96,8 +96,8 @@ ncl_getpages(struct vop_getpages_args *ap)
|
||||
|
||||
vp = ap->a_vp;
|
||||
np = VTONFS(vp);
|
||||
td = curthread; /* XXX */
|
||||
cred = curthread->td_ucred; /* XXX */
|
||||
td = curthread;
|
||||
cred = curthread->td_ucred;
|
||||
nmp = VFSTONFS(vp->v_mount);
|
||||
pages = ap->a_m;
|
||||
npages = ap->a_count;
|
||||
|
@ -105,15 +105,6 @@ extern int nfsrv_useacl;
|
||||
extern int nfscl_debuglevel;
|
||||
MALLOC_DECLARE(M_NEWNFSREQ);
|
||||
|
||||
/*
|
||||
* Ifdef for FreeBSD-current merged buffer cache. It is unfortunate that these
|
||||
* calls are not in getblk() and brelse() so that they would not be necessary
|
||||
* here.
|
||||
*/
|
||||
#ifndef B_VMIO
|
||||
#define vfs_busy_pages(bp, f)
|
||||
#endif
|
||||
|
||||
static vop_read_t nfsfifo_read;
|
||||
static vop_write_t nfsfifo_write;
|
||||
static vop_close_t nfsfifo_close;
|
||||
|
Loading…
x
Reference in New Issue
Block a user