Remove duplicate definition of "smbfs_node_pool".

Fix based on a patch provided by Juan RP in PR kern/39494.
This commit is contained in:
tron 2008-09-07 13:13:04 +00:00
parent 70bddd8faa
commit 7c4ff5fbb4
2 changed files with 7 additions and 4 deletions

@ -1,4 +1,4 @@
/* $NetBSD: smbfs.h,v 1.16 2008/01/26 14:25:38 ad Exp $ */
/* $NetBSD: smbfs.h,v 1.17 2008/09/07 13:13:04 tron Exp $ */
/*
* Copyright (c) 2000-2001, Boris Popov
@ -70,6 +70,7 @@ struct smb_share;
struct u_cred;
struct vop_ioctl_args;
struct buf;
struct pool;
struct smbmount {
struct smbfs_args sm_args;
@ -95,6 +96,9 @@ struct smbmount {
int smbfs_doio(struct buf *, kauth_cred_t, struct lwp *);
int smbfs_vinvalbuf(struct vnode *, int, kauth_cred_t, struct lwp *, int);
int smbfs_kqfilter(void *);
extern struct pool smbfs_node_pool;
#endif /* KERNEL */
#endif /* _FS_SMBFS_SMBFS_H_ */

@ -1,4 +1,4 @@
/* $NetBSD: smbfs_vfsops.c,v 1.84 2008/06/29 18:45:20 rumble Exp $ */
/* $NetBSD: smbfs_vfsops.c,v 1.85 2008/09/07 13:13:04 tron Exp $ */
/*
* Copyright (c) 2000-2001, Boris Popov
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.84 2008/06/29 18:45:20 rumble Exp $");
__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.85 2008/09/07 13:13:04 tron Exp $");
#ifdef _KERNEL_OPT
#include "opt_quota.h"
@ -74,7 +74,6 @@ static struct sysctllog *smbfs_sysctl_log;
static int smbfs_setroot(struct mount *);
struct pool smbfs_node_pool;
extern struct vnodeopv_desc smbfs_vnodeop_opv_desc;
static const struct vnodeopv_desc *smbfs_vnodeopv_descs[] = {