g/c smbfs_pbuf_freecnt, it's not used (it was not even declared on NetBSD)
This commit is contained in:
parent
860ed88533
commit
24a773c6ef
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: smbfs_io.c,v 1.5 2003/02/23 17:28:01 jdolecek Exp $ */
|
||||
/* $NetBSD: smbfs_io.c,v 1.6 2003/02/23 19:30:13 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000-2001, Boris Popov
|
||||
|
@ -82,8 +82,6 @@
|
|||
|
||||
/*#define SMBFS_RWGENERIC*/
|
||||
|
||||
extern int smbfs_pbuf_freecnt;
|
||||
|
||||
#define DE_SIZE (sizeof(struct dirent))
|
||||
|
||||
static int
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: smbfs_vfsops.c,v 1.10 2003/02/23 18:47:10 jdolecek Exp $ */
|
||||
/* $NetBSD: smbfs_vfsops.c,v 1.11 2003/02/23 19:30:13 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000-2001, Boris Popov
|
||||
|
@ -78,10 +78,6 @@ int smbfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp);
|
|||
int smbfs_fhtovp(struct mount *, struct fid *, struct vnode **);
|
||||
int smbfs_vptofh(struct vnode *, struct fid *);
|
||||
|
||||
#ifndef __NetBSD__
|
||||
int smbfs_pbuf_freecnt = -1; /* start out unlimited */
|
||||
#endif
|
||||
|
||||
extern struct vnodeopv_desc smbfs_vnodeop_opv_desc;
|
||||
|
||||
const struct vnodeopv_desc *smbfs_vnodeopv_descs[] = {
|
||||
|
@ -317,9 +313,6 @@ void
|
|||
smbfs_init(void)
|
||||
{
|
||||
|
||||
#ifndef __NetBSD__
|
||||
smbfs_pbuf_freecnt = nswbuf / 2 + 1;
|
||||
#endif
|
||||
SMBVDEBUG("done.\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue