Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/ntfs move ntfs_remove() to be together with the other...



details:   https://anonhg.NetBSD.org/src/rev/50152660decd
branches:  trunk
changeset: 545490:50152660decd
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Apr 09 18:46:47 2003 +0000

description:
move ntfs_remove() to be together with the other dummies - easier to c&p
eventually

diffstat:

 sys/fs/ntfs/ntfs_vnops.c |  38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diffs (66 lines):

diff -r f2926c6152d3 -r 50152660decd sys/fs/ntfs/ntfs_vnops.c
--- a/sys/fs/ntfs/ntfs_vnops.c  Wed Apr 09 18:41:05 2003 +0000
+++ b/sys/fs/ntfs/ntfs_vnops.c  Wed Apr 09 18:46:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntfs_vnops.c,v 1.4 2003/04/09 18:41:05 jdolecek Exp $  */
+/*     $NetBSD: ntfs_vnops.c,v 1.5 2003/04/09 18:46:47 jdolecek Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ntfs_vnops.c,v 1.4 2003/04/09 18:41:05 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ntfs_vnops.c,v 1.5 2003/04/09 18:46:47 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -446,23 +446,6 @@
        return (error);
 }
 
-static int
-ntfs_remove(void *v)
-{
-       struct vop_remove_args /* {
-               struct vnode *a_dvp;
-               struct vnode *a_vp;
-               struct componentname *a_cnp;
-       } */ *ap = v;
-
-       if (ap->a_dvp == ap->a_vp)
-               vrele(ap->a_vp);
-       else
-               vput(ap->a_vp);
-       vput(ap->a_dvp);
-       return (EOPNOTSUPP);
-}
-
 int
 ntfs_access(ap)
        struct vop_access_args /* {
@@ -918,6 +901,23 @@
 }
 
 static int
+ntfs_remove(void *v)
+{
+       struct vop_remove_args /* {
+               struct vnode *a_dvp;
+               struct vnode *a_vp;
+               struct componentname *a_cnp;
+       } */ *ap = v;
+
+       if (ap->a_dvp == ap->a_vp)
+               vrele(ap->a_vp);
+       else
+               vput(ap->a_vp);
+       vput(ap->a_dvp);
+       return (EOPNOTSUPP);
+}
+
+static int
 ntfs_link(void *v)
 {
        struct vop_link_args /* {



Home | Main Index | Thread Index | Old Index