diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2016-05-23 09:31:29 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2016-05-23 09:31:29 +0000 |
commit | 2b41bbf23d3946ce401365b453c3fb26973fb2a1 (patch) | |
tree | 241d4ba0e01024a9cc0d1ac304851f8cd0d2f899 /sys/kern | |
parent | b4856dcc3b90f04613299ca718ecef538acdf847 (diff) |
VOP_REALLOCBLKS() and related code is unused since the removal of
cluster_write().
ok beck zhuk
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_vops.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/kern/vfs_vops.c b/sys/kern/vfs_vops.c index 5941466ad32..f579134aeed 100644 --- a/sys/kern/vfs_vops.c +++ b/sys/kern/vfs_vops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_vops.c,v 1.15 2016/03/19 12:04:15 natano Exp $ */ +/* $OpenBSD: vfs_vops.c,v 1.16 2016/05/23 09:31:28 natano Exp $ */ /* * Copyright (c) 2010 Thordur I. Bjornsson <thib@openbsd.org> * @@ -612,21 +612,6 @@ VOP_ADVLOCK(struct vnode *vp, void *id, int op, struct flock *fl, int flags) } int -VOP_REALLOCBLKS(struct vnode *vp, struct cluster_save *buflist) -{ - struct vop_reallocblks_args a; - a.a_vp = vp; - a.a_buflist = buflist; - - ASSERT_VP_ISLOCKED(vp); - - if (vp->v_op->vop_reallocblks == NULL) - return (EOPNOTSUPP); - - return ((vp->v_op->vop_reallocblks)(&a)); -} - -int VOP_STRATEGY(struct buf *bp) { struct vop_strategy_args a; |