cd9660_vfsops.c (213664) | cd9660_vfsops.c (222167) |
---|---|
1/*- 2 * Copyright (c) 1994 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_vfsops.c 8.18 (Berkeley) 5/22/95 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1994 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_vfsops.c 8.18 (Berkeley) 5/22/95 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/fs/cd9660/cd9660_vfsops.c 213664 2010-10-10 07:05:47Z kib $"); | 38__FBSDID("$FreeBSD: head/sys/fs/cd9660/cd9660_vfsops.c 222167 2011-05-22 01:07:54Z rmacklem $"); |
39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/namei.h> 43#include <sys/priv.h> 44#include <sys/proc.h> 45#include <sys/kernel.h> 46#include <sys/vnode.h> --- 534 unchanged lines hidden (view full) --- 581 * - check that the inode number is in range 582 * - call iget() to get the locked inode 583 * - check for an unallocated inode (i_mode == 0) 584 * - check that the generation number matches 585 */ 586 587/* ARGSUSED */ 588static int | 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/namei.h> 43#include <sys/priv.h> 44#include <sys/proc.h> 45#include <sys/kernel.h> 46#include <sys/vnode.h> --- 534 unchanged lines hidden (view full) --- 581 * - check that the inode number is in range 582 * - call iget() to get the locked inode 583 * - check for an unallocated inode (i_mode == 0) 584 * - check that the generation number matches 585 */ 586 587/* ARGSUSED */ 588static int |
589cd9660_fhtovp(mp, fhp, vpp) | 589cd9660_fhtovp(mp, fhp, flags, vpp) |
590 struct mount *mp; 591 struct fid *fhp; | 590 struct mount *mp; 591 struct fid *fhp; |
592 int flags; |
|
592 struct vnode **vpp; 593{ 594 struct ifid ifh; 595 struct iso_node *ip; 596 struct vnode *nvp; 597 int error; 598 599 memcpy(&ifh, fhp, sizeof(ifh)); --- 233 unchanged lines hidden --- | 593 struct vnode **vpp; 594{ 595 struct ifid ifh; 596 struct iso_node *ip; 597 struct vnode *nvp; 598 int error; 599 600 memcpy(&ifh, fhp, sizeof(ifh)); --- 233 unchanged lines hidden --- |