Deleted Added
full compact
cd9660_vfsops.c (27845) cd9660_vfsops.c (28270)
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).

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95
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).

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95
39 * $Id: cd9660_vfsops.c,v 1.25 1997/05/04 15:24:21 joerg Exp $
39 * $Id: cd9660_vfsops.c,v 1.26 1997/08/02 14:31:20 bde Exp $
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/namei.h>
45#include <sys/proc.h>
46#include <sys/kernel.h>
47#include <sys/vnode.h>

--- 18 unchanged lines hidden (view full) ---

66static int cd9660_unmount __P((struct mount *, int, struct proc *));
67static int cd9660_root __P((struct mount *, struct vnode **));
68static int cd9660_quotactl __P((struct mount *, int, uid_t, caddr_t,
69 struct proc *));
70static int cd9660_statfs __P((struct mount *, struct statfs *, struct proc *));
71static int cd9660_sync __P((struct mount *, int, struct ucred *,
72 struct proc *));
73static int cd9660_vget __P((struct mount *, ino_t, struct vnode **));
40 */
41
42#include <sys/param.h>
43#include <sys/systm.h>
44#include <sys/namei.h>
45#include <sys/proc.h>
46#include <sys/kernel.h>
47#include <sys/vnode.h>

--- 18 unchanged lines hidden (view full) ---

66static int cd9660_unmount __P((struct mount *, int, struct proc *));
67static int cd9660_root __P((struct mount *, struct vnode **));
68static int cd9660_quotactl __P((struct mount *, int, uid_t, caddr_t,
69 struct proc *));
70static int cd9660_statfs __P((struct mount *, struct statfs *, struct proc *));
71static int cd9660_sync __P((struct mount *, int, struct ucred *,
72 struct proc *));
73static int cd9660_vget __P((struct mount *, ino_t, struct vnode **));
74static int cd9660_fhtovp __P((struct mount *, struct fid *, struct mbuf *,
74static int cd9660_fhtovp __P((struct mount *, struct fid *, struct sockaddr *,
75 struct vnode **, int *, struct ucred **));
76static int cd9660_vptofh __P((struct vnode *, struct fid *));
77
78static struct vfsops cd9660_vfsops = {
79 cd9660_mount,
80 cd9660_start,
81 cd9660_unmount,
82 cd9660_root,

--- 502 unchanged lines hidden (view full) ---

585 long ifid_start;
586};
587
588/* ARGSUSED */
589int
590cd9660_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp)
591 register struct mount *mp;
592 struct fid *fhp;
75 struct vnode **, int *, struct ucred **));
76static int cd9660_vptofh __P((struct vnode *, struct fid *));
77
78static struct vfsops cd9660_vfsops = {
79 cd9660_mount,
80 cd9660_start,
81 cd9660_unmount,
82 cd9660_root,

--- 502 unchanged lines hidden (view full) ---

585 long ifid_start;
586};
587
588/* ARGSUSED */
589int
590cd9660_fhtovp(mp, fhp, nam, vpp, exflagsp, credanonp)
591 register struct mount *mp;
592 struct fid *fhp;
593 struct mbuf *nam;
593 struct sockaddr *nam;
594 struct vnode **vpp;
595 int *exflagsp;
596 struct ucred **credanonp;
597{
598 struct ifid *ifhp = (struct ifid *)fhp;
599 register struct iso_node *ip;
600 register struct netcred *np;
601 register struct iso_mnt *imp = VFSTOISOFS(mp);

--- 269 unchanged lines hidden ---
594 struct vnode **vpp;
595 int *exflagsp;
596 struct ucred **credanonp;
597{
598 struct ifid *ifhp = (struct ifid *)fhp;
599 register struct iso_node *ip;
600 register struct netcred *np;
601 register struct iso_mnt *imp = VFSTOISOFS(mp);

--- 269 unchanged lines hidden ---