summaryrefslogtreecommitdiff
path: root/sys/msdosfs
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2007-03-18 15:05:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2007-03-18 15:05:34 +0000
commite1a95c3fd1616145288f44917f513495ddb85829 (patch)
treebdefeec5cfb803587e4c3f148815830eb4655986 /sys/msdosfs
parent63ebf3228eaf64fdc80c0cab05548ba8b4d96e04 (diff)
get rid of noop vop_reallocblks; pedro@ miod@ ok
Diffstat (limited to 'sys/msdosfs')
-rw-r--r--sys/msdosfs/denode.h3
-rw-r--r--sys/msdosfs/msdosfs_vnops.c18
2 files changed, 2 insertions, 19 deletions
diff --git a/sys/msdosfs/denode.h b/sys/msdosfs/denode.h
index dd8d992ce57..7190e8f37df 100644
--- a/sys/msdosfs/denode.h
+++ b/sys/msdosfs/denode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: denode.h,v 1.19 2007/01/16 17:52:18 thib Exp $ */
+/* $OpenBSD: denode.h,v 1.20 2007/03/18 15:05:33 mickey Exp $ */
/* $NetBSD: denode.h,v 1.24 1997/10/17 11:23:39 ws Exp $ */
/*-
@@ -288,7 +288,6 @@ int msdosfs_strategy(void *);
int msdosfs_print(void *);
int msdosfs_islocked(void *);
int msdosfs_advlock(void *);
-int msdosfs_reallocblks(void *);
int msdosfs_pathconf(void *);
/*
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 3930d00277e..62af2a2dcd9 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.59 2007/01/16 17:52:18 thib Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.60 2007/03/18 15:05:33 mickey Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -1807,21 +1807,6 @@ msdosfs_bmap(v)
}
int
-msdosfs_reallocblks(v)
- void *v;
-{
-#if 0
- struct vop_reallocblks_args /* {
- struct vnode *a_vp;
- struct cluster_save *a_buflist;
- } */ *ap = v;
-#endif
-
- /* Currently no support for clustering */ /* XXX */
- return (ENOSPC);
-}
-
-int
msdosfs_strategy(v)
void *v;
{
@@ -1999,7 +1984,6 @@ struct vnodeopv_entry_desc msdosfs_vnodeop_entries[] = {
{ &vop_islocked_desc, msdosfs_islocked }, /* islocked */
{ &vop_pathconf_desc, msdosfs_pathconf }, /* pathconf */
{ &vop_advlock_desc, msdosfs_advlock }, /* advlock */
- { &vop_reallocblks_desc, msdosfs_reallocblks }, /* reallocblks */
{ &vop_bwrite_desc, vop_generic_bwrite }, /* bwrite */
{ (struct vnodeop_desc *)NULL, (int (*)(void *))NULL }
};