vfs_subr.c (7ad2a82da2b51b8c803c82a460e513f58f5a1737) | vfs_subr.c (8f226f4c23e6fd158ad8f3c26be8d185cc0b73a2) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1989, 1993 5 * The Regents of the University of California. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 3865 unchanged lines hidden (view full) --- 3874 */ 3875 if (object != NULL && object->type == OBJT_VNODE && 3876 object->handle == vp) 3877 vnode_destroy_vobject(vp); 3878 3879 /* 3880 * Reclaim the vnode. 3881 */ | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1989, 1993 5 * The Regents of the University of California. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 3865 unchanged lines hidden (view full) --- 3874 */ 3875 if (object != NULL && object->type == OBJT_VNODE && 3876 object->handle == vp) 3877 vnode_destroy_vobject(vp); 3878 3879 /* 3880 * Reclaim the vnode. 3881 */ |
3882 if (VOP_RECLAIM(vp, td)) | 3882 if (VOP_RECLAIM(vp)) |
3883 panic("vgone: cannot reclaim"); 3884 if (mp != NULL) 3885 vn_finished_secondary_write(mp); 3886 VNASSERT(vp->v_object == NULL, vp, 3887 ("vop_reclaim left v_object vp=%p", vp)); 3888 /* 3889 * Clear the advisory locks and wake up waiting threads. 3890 */ --- 2789 unchanged lines hidden --- | 3883 panic("vgone: cannot reclaim"); 3884 if (mp != NULL) 3885 vn_finished_secondary_write(mp); 3886 VNASSERT(vp->v_object == NULL, vp, 3887 ("vop_reclaim left v_object vp=%p", vp)); 3888 /* 3889 * Clear the advisory locks and wake up waiting threads. 3890 */ --- 2789 unchanged lines hidden --- |