diff options
author | phk <phk@FreeBSD.org> | 2005-02-07 08:23:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-07 08:23:36 +0000 |
commit | b69dca29ec730fc658f385dc8493c4190b729962 (patch) | |
tree | 82d357f99e2a880ae9f5447669d07fed128936f0 | |
parent | 275ba1001de21874b70d7b591cb872eac2624e60 (diff) | |
download | FreeBSD-src-b69dca29ec730fc658f385dc8493c4190b729962.zip FreeBSD-src-b69dca29ec730fc658f385dc8493c4190b729962.tar.gz |
Deimplement vop_destroyvobject()
-rw-r--r-- | sys/fs/unionfs/union_subr.c | 1 | ||||
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 15 |
2 files changed, 1 insertions, 15 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c index 6cc5e62..fb014ba 100644 --- a/sys/fs/unionfs/union_subr.c +++ b/sys/fs/unionfs/union_subr.c @@ -644,6 +644,7 @@ union_freevp(vp) FREE(vp->v_data, M_TEMP); vp->v_data = 0; + vp->v_object = NULL; return (0); } diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index db24279..7e98623 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -75,7 +75,6 @@ static vop_close_t union_close; static vop_closeextattr_t union_closeextattr; static vop_create_t union_create; static vop_deleteextattr_t union_deleteextattr; -static vop_destroyvobject_t union_destroyvobject; static vop_fsync_t union_fsync; static vop_getacl_t union_getacl; static vop_getattr_t union_getattr; @@ -1691,19 +1690,6 @@ union_reclaim(ap) return (0); } -/* - * We have nothing to destroy and this operation shouldn't be bypassed. - */ -static int -union_destroyvobject(ap) - struct vop_destroyvobject_args /* { - struct vnode *vp; - } */ *ap; -{ - - return (0); -} - static int union_print(ap) struct vop_print_args /* { @@ -2017,7 +2003,6 @@ struct vop_vector union_vnodeops = { .vop_closeextattr = union_closeextattr, .vop_create = union_create, .vop_deleteextattr = union_deleteextattr, - .vop_destroyvobject = union_destroyvobject, .vop_fsync = union_fsync, .vop_getacl = union_getacl, .vop_getattr = union_getattr, |