Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/smbfs g/c smbfs_pbuf_freecnt, it's not used (it was n...
details: https://anonhg.NetBSD.org/src/rev/c3e28b2b440b
branches: trunk
changeset: 543345:c3e28b2b440b
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Feb 23 19:30:13 2003 +0000
description:
g/c smbfs_pbuf_freecnt, it's not used (it was not even declared on NetBSD)
diffstat:
sys/fs/smbfs/smbfs_io.c | 4 +---
sys/fs/smbfs/smbfs_vfsops.c | 9 +--------
2 files changed, 2 insertions(+), 11 deletions(-)
diffs (48 lines):
diff -r 721072fb7079 -r c3e28b2b440b sys/fs/smbfs/smbfs_io.c
--- a/sys/fs/smbfs/smbfs_io.c Sun Feb 23 19:13:43 2003 +0000
+++ b/sys/fs/smbfs/smbfs_io.c Sun Feb 23 19:30:13 2003 +0000
@@ -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
diff -r 721072fb7079 -r c3e28b2b440b sys/fs/smbfs/smbfs_vfsops.c
--- a/sys/fs/smbfs/smbfs_vfsops.c Sun Feb 23 19:13:43 2003 +0000
+++ b/sys/fs/smbfs/smbfs_vfsops.c Sun Feb 23 19:30:13 2003 +0000
@@ -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_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 @@
smbfs_init(void)
{
-#ifndef __NetBSD__
- smbfs_pbuf_freecnt = nswbuf / 2 + 1;
-#endif
SMBVDEBUG("done.\n");
}
Home |
Main Index |
Thread Index |
Old Index