cd9660_node.c (137038) | cd9660_node.c (140936) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1994, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley 6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension 7 * Support code is derived from software contributed to Berkeley 8 * by Atsushi Murai (amurai@spec.co.jp). --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)cd9660_node.c 8.2 (Berkeley) 1/23/94 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1994, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley 6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension 7 * Support code is derived from software contributed to Berkeley 8 * by Atsushi Murai (amurai@spec.co.jp). --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)cd9660_node.c 8.2 (Berkeley) 1/23/94 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/fs/cd9660/cd9660_node.c 137038 2004-10-29 10:41:44Z phk $"); | 38__FBSDID("$FreeBSD: head/sys/fs/cd9660/cd9660_node.c 140936 2005-01-28 13:08:21Z phk $"); |
39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/mount.h> 43#include <sys/bio.h> 44#include <sys/buf.h> 45#include <sys/vnode.h> 46#include <sys/malloc.h> --- 138 unchanged lines hidden (view full) --- 185 186 ip->i_flag = 0; 187 VOP_UNLOCK(vp, 0, td); 188 /* 189 * If we are done with the inode, reclaim it 190 * so that it can be reused immediately. 191 */ 192 if (ip->inode.iso_mode == 0) | 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/mount.h> 43#include <sys/bio.h> 44#include <sys/buf.h> 45#include <sys/vnode.h> 46#include <sys/malloc.h> --- 138 unchanged lines hidden (view full) --- 185 186 ip->i_flag = 0; 187 VOP_UNLOCK(vp, 0, td); 188 /* 189 * If we are done with the inode, reclaim it 190 * so that it can be reused immediately. 191 */ 192 if (ip->inode.iso_mode == 0) |
193 vrecycle(vp, NULL, td); | 193 vrecycle(vp, td); |
194 return error; 195} 196 197/* 198 * Reclaim an inode so that it can be used for other purposes. 199 */ 200int 201cd9660_reclaim(ap) --- 238 unchanged lines hidden --- | 194 return error; 195} 196 197/* 198 * Reclaim an inode so that it can be used for other purposes. 199 */ 200int 201cd9660_reclaim(ap) --- 238 unchanged lines hidden --- |