diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c index a8666cc6f2f7..97621a8c4c7b 100644 --- a/sys/coda/coda_vnops.c +++ b/sys/coda/coda_vnops.c @@ -1740,7 +1740,7 @@ coda_reclaim(v) cache_purge(vp); lockdestroy(&(VTOC(vp)->c_lock)); coda_free(VTOC(vp)); - VTOC(vp) = NULL; + vp->v_data = NULL; return (0); } diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index a8666cc6f2f7..97621a8c4c7b 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/coda/coda_vnops.c @@ -1740,7 +1740,7 @@ coda_reclaim(v) cache_purge(vp); lockdestroy(&(VTOC(vp)->c_lock)); coda_free(VTOC(vp)); - VTOC(vp) = NULL; + vp->v_data = NULL; return (0); }