summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2002-09-18 20:42:04 +0000
committernjl <njl@FreeBSD.org>2002-09-18 20:42:04 +0000
commit00c79f5c92eb1bef381fbc7e267b6e746fab0f9c (patch)
treef0e827f562fb4c2d3c293425604e0245216e83ae /sys/fs/ntfs
parent74315d9b540e11ecbf585c1223bd70f0e956c55d (diff)
downloadFreeBSD-src-00c79f5c92eb1bef381fbc7e267b6e746fab0f9c.zip
FreeBSD-src-00c79f5c92eb1bef381fbc7e267b6e746fab0f9c.tar.gz
Remove any VOP_PRINT that redundantly prints the tag.
Move lockmgr_printinfo() into vprint() for everyone's benefit. Suggested by: bde
Diffstat (limited to 'sys/fs/ntfs')
-rw-r--r--sys/fs/ntfs/ntfs_vnops.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c
index dbb5593..fc46617 100644
--- a/sys/fs/ntfs/ntfs_vnops.c
+++ b/sys/fs/ntfs/ntfs_vnops.c
@@ -74,7 +74,6 @@ static int ntfs_read(struct vop_read_args *);
static int ntfs_write(struct vop_write_args *ap);
static int ntfs_getattr(struct vop_getattr_args *ap);
static int ntfs_inactive(struct vop_inactive_args *ap);
-static int ntfs_print(struct vop_print_args *ap);
static int ntfs_reclaim(struct vop_reclaim_args *ap);
static int ntfs_strategy(struct vop_strategy_args *ap);
static int ntfs_access(struct vop_access_args *ap);
@@ -240,15 +239,6 @@ ntfs_reclaim(ap)
return (0);
}
-static int
-ntfs_print(ap)
- struct vop_print_args /* {
- struct vnode *a_vp;
- } */ *ap;
-{
- return (0);
-}
-
/*
* Calculate the logical to physical mapping if not done already,
* then call the device strategy routine.
@@ -745,7 +735,7 @@ struct vnodeopv_entry_desc ntfs_vnodeop_entries[] = {
{ &vop_getattr_desc, (vop_t *)ntfs_getattr },
{ &vop_inactive_desc, (vop_t *)ntfs_inactive },
{ &vop_reclaim_desc, (vop_t *)ntfs_reclaim },
- { &vop_print_desc, (vop_t *)ntfs_print },
+ { &vop_print_desc, (vop_t *)vop_null },
{ &vop_pathconf_desc, ntfs_pathconf },
{ &vop_islocked_desc, (vop_t *)vop_stdislocked },
OpenPOWER on IntegriCloud