diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1994-05-25 09:21:21 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1994-05-25 09:21:21 +0000 |
commit | 2469c867a164210ce96143517059f21db7f1fd17 (patch) | |
tree | 9179427ac860211c445df663fd2b86267366bfba /sys/isofs/cd9660/cd9660_node.c | |
parent | cb0aba89af15a48e2655e898a503946ac4cb42ae (diff) | |
download | FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.zip FreeBSD-src-2469c867a164210ce96143517059f21db7f1fd17.tar.gz |
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
Reviewed by: Rodney W. Grimes
Submitted by: John Dyson and David Greenman
Diffstat (limited to 'sys/isofs/cd9660/cd9660_node.c')
-rw-r--r-- | sys/isofs/cd9660/cd9660_node.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c index d83a7a6..f9641ff 100644 --- a/sys/isofs/cd9660/cd9660_node.c +++ b/sys/isofs/cd9660/cd9660_node.c @@ -84,6 +84,7 @@ int prtactive; /* 1 => print out reclaim of active vnodes */ /* * Initialize hash links for inodes and dnodes. */ +int cd9660_init() { register int i; @@ -102,6 +103,7 @@ cd9660_init() dh->dh_head[1] = dh; } #endif + return (0); } #ifdef ISODEVMAP @@ -163,9 +165,11 @@ iso_dunmap(dev) * return the inode locked. Detection and handling of mount * points must be done by the calling routine. */ +int iso_iget(xp, ino, relocated, ipp, isodir) struct iso_node *xp; ino_t ino; + int relocated; struct iso_node **ipp; struct iso_directory_record *isodir; { @@ -338,6 +342,7 @@ loop: /* * Unlock and decrement the reference count of an inode structure. */ +int iso_iput(ip) register struct iso_node *ip; { @@ -346,6 +351,7 @@ iso_iput(ip) panic("iso_iput"); ISO_IUNLOCK(ip); vrele(ITOV(ip)); + return (0); } /* @@ -412,6 +418,7 @@ cd9660_reclaim(ap) /* * Lock an inode. If its already locked, set the WANT bit and sleep. */ +int iso_ilock(ip) register struct iso_node *ip; { @@ -426,11 +433,13 @@ iso_ilock(ip) ip->i_spare1 = 0; ip->i_spare0 = curproc->p_pid; ip->i_flag |= ILOCKED; + return (0); } /* * Unlock an inode. If WANT bit is on, wakeup. */ +int iso_iunlock(ip) register struct iso_node *ip; { @@ -443,6 +452,7 @@ iso_iunlock(ip) ip->i_flag &= ~IWANT; wakeup((caddr_t)ip); } + return (0); } /* |