Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Remove ulfsspec_close and ulfsfifo_close as they...
details: https://anonhg.NetBSD.org/src/rev/889bce0fd4a2
branches: trunk
changeset: 788895:889bce0fd4a2
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Jul 28 00:31:54 2013 +0000
description:
Remove ulfsspec_close and ulfsfifo_close as they're not used.
diffstat:
sys/ufs/lfs/ulfs_vnops.c | 50 +----------------------------------------------
1 files changed, 2 insertions(+), 48 deletions(-)
diffs (78 lines):
diff -r 82be3e8dc9bb -r 889bce0fd4a2 sys/ufs/lfs/ulfs_vnops.c
--- a/sys/ufs/lfs/ulfs_vnops.c Sun Jul 28 00:29:18 2013 +0000
+++ b/sys/ufs/lfs/ulfs_vnops.c Sun Jul 28 00:31:54 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ulfs_vnops.c,v 1.15 2013/07/21 00:01:22 dholland Exp $ */
+/* $NetBSD: ulfs_vnops.c,v 1.16 2013/07/28 00:31:54 dholland Exp $ */
/* from NetBSD: ufs_vnops.c,v 1.213 2013/06/08 05:47:02 kardel Exp */
/*-
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_vnops.c,v 1.15 2013/07/21 00:01:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_vnops.c,v 1.16 2013/07/28 00:31:54 dholland Exp $");
#if defined(_KERNEL_OPT)
#include "opt_lfs.h"
@@ -1249,29 +1249,6 @@
}
/*
- * Close wrapper for special devices.
- *
- * Update the times on the inode then do device close.
- */
-int
-ulfsspec_close(void *v)
-{
- struct vop_close_args /* {
- struct vnode *a_vp;
- int a_fflag;
- kauth_cred_t a_cred;
- } */ *ap = v;
- struct vnode *vp;
- struct inode *ip;
-
- vp = ap->a_vp;
- ip = VTOI(vp);
- if (vp->v_usecount > 1)
- ULFS_ITIMES(vp, NULL, NULL, NULL);
- return (VOCALL (spec_vnodeop_p, VOFFSET(vop_close), ap));
-}
-
-/*
* Read wrapper for fifo's
*/
int
@@ -1312,29 +1289,6 @@
}
/*
- * Close wrapper for fifo's.
- *
- * Update the times on the inode then do device close.
- */
-int
-ulfsfifo_close(void *v)
-{
- struct vop_close_args /* {
- struct vnode *a_vp;
- int a_fflag;
- kauth_cred_t a_cred;
- } */ *ap = v;
- struct vnode *vp;
- struct inode *ip;
-
- vp = ap->a_vp;
- ip = VTOI(vp);
- if (ap->a_vp->v_usecount > 1)
- ULFS_ITIMES(vp, NULL, NULL, NULL);
- return (VOCALL (fifo_vnodeop_p, VOFFSET(vop_close), ap));
-}
-
-/*
* Return POSIX pathconf information applicable to ulfs filesystems.
*/
int
Home |
Main Index |
Thread Index |
Old Index