Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpvfs remove unnecessary interface



details:   https://anonhg.NetBSD.org/src/rev/22b14d6b1c02
branches:  trunk
changeset: 759154:22b14d6b1c02
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Nov 30 15:41:35 2010 +0000

description:
remove unnecessary interface

diffstat:

 sys/rump/librump/rumpvfs/rump_vfs.c     |  17 +++--------------
 sys/rump/librump/rumpvfs/rumpvfs.ifspec |   3 +--
 2 files changed, 4 insertions(+), 16 deletions(-)

diffs (55 lines):

diff -r f9a039a645c8 -r 22b14d6b1c02 sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c       Tue Nov 30 15:39:27 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c       Tue Nov 30 15:41:35 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_vfs.c,v 1.62 2010/11/30 15:39:27 pooka Exp $      */
+/*     $NetBSD: rump_vfs.c,v 1.63 2010/11/30 15:41:35 pooka Exp $      */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.62 2010/11/30 15:39:27 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.63 2010/11/30 15:41:35 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -214,18 +214,7 @@
                rump_cred_put(cnp->cn_cred);
 
        PNBUF_PUT(rcn->rcn_path);
-       kmem_free(cnp, sizeof(*cnp));
-}
-
-int
-rump_checksavecn(struct componentname *cnp)
-{
-
-       if ((cnp->cn_flags & SAVESTART) == 0) {
-               return 0;
-       } else {
-               return 1;
-       }
+       kmem_free(rcn, sizeof(*rcn));
 }
 
 /* hey baby, what's your namei? */
diff -r f9a039a645c8 -r 22b14d6b1c02 sys/rump/librump/rumpvfs/rumpvfs.ifspec
--- a/sys/rump/librump/rumpvfs/rumpvfs.ifspec   Tue Nov 30 15:39:27 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rumpvfs.ifspec   Tue Nov 30 15:41:35 2010 +0000
@@ -1,4 +1,4 @@
-;       $NetBSD: rumpvfs.ifspec,v 1.6 2010/09/07 17:13:03 pooka Exp $
+;       $NetBSD: rumpvfs.ifspec,v 1.7 2010/11/30 15:41:35 pooka Exp $
 
 NAME|vfs
 PUBHDR|include/rump/rumpvfs_if_pub.h
@@ -32,7 +32,6 @@
 int            |etfs_remove    |const char *
 
 void           |freecn         |struct componentname *, int
-int            |checksavecn    |struct componentname *
 int            |namei          |uint32_t, uint32_t, const char *,      \
                                 struct vnode **, struct vnode **,      \
                                 struct componentname **



Home | Main Index | Thread Index | Old Index