udf_vfsops.c (210172) | udf_vfsops.c (222167) |
---|---|
1/*- 2 * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/fs/udf/udf_vfsops.c 210172 2010-07-16 19:52:03Z jhb $ | 26 * $FreeBSD: head/sys/fs/udf/udf_vfsops.c 222167 2011-05-22 01:07:54Z rmacklem $ |
27 */ 28 29/* udf_vfsops.c */ 30/* Implement the VFS side of things */ 31 32/* 33 * Ok, here's how it goes. The UDF specs are pretty clear on how each data 34 * structure is made up, but not very clear on how they relate to each other. --- 682 unchanged lines hidden (view full) --- 717 vp->v_vflag |= VV_ROOT; 718 719 *vpp = vp; 720 721 return (0); 722} 723 724static int | 27 */ 28 29/* udf_vfsops.c */ 30/* Implement the VFS side of things */ 31 32/* 33 * Ok, here's how it goes. The UDF specs are pretty clear on how each data 34 * structure is made up, but not very clear on how they relate to each other. --- 682 unchanged lines hidden (view full) --- 717 vp->v_vflag |= VV_ROOT; 718 719 *vpp = vp; 720 721 return (0); 722} 723 724static int |
725udf_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) | 725udf_fhtovp(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp) |
726{ 727 struct ifid *ifhp; 728 struct vnode *nvp; 729 struct udf_node *np; 730 off_t fsize; 731 int error; 732 733 ifhp = (struct ifid *)fhp; --- 97 unchanged lines hidden --- | 726{ 727 struct ifid *ifhp; 728 struct vnode *nvp; 729 struct udf_node *np; 730 off_t fsize; 731 int error; 732 733 ifhp = (struct ifid *)fhp; --- 97 unchanged lines hidden --- |