Deleted Added
full compact
cd9660_vnops.c (1541) cd9660_vnops.c (1549)
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).

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

152}
153
154/*
155 * Check mode permission on inode pointer. Mode is READ, WRITE or EXEC.
156 * The mode is shifted to select the owner/group/other fields. The
157 * super user is granted all permissions.
158 */
159/* ARGSUSED */
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).

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

152}
153
154/*
155 * Check mode permission on inode pointer. Mode is READ, WRITE or EXEC.
156 * The mode is shifted to select the owner/group/other fields. The
157 * super user is granted all permissions.
158 */
159/* ARGSUSED */
160int
160cd9660_access(ap)
161 struct vop_access_args /* {
162 struct vnode *a_vp;
163 int a_mode;
164 struct ucred *a_cred;
165 struct proc *a_p;
166 } */ *ap;
167{
168 return (0);
169}
170
161cd9660_access(ap)
162 struct vop_access_args /* {
163 struct vnode *a_vp;
164 int a_mode;
165 struct ucred *a_cred;
166 struct proc *a_p;
167 } */ *ap;
168{
169 return (0);
170}
171
172int
171cd9660_getattr(ap)
172 struct vop_getattr_args /* {
173 struct vnode *a_vp;
174 struct vattr *a_vap;
175 struct ucred *a_cred;
176 struct proc *a_p;
177 } */ *ap;
178

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

212#else
213/* XXX until cluster routines can handle block sizes less than one page */
214#define doclusterread 0
215#endif
216
217/*
218 * Vnode op for reading.
219 */
173cd9660_getattr(ap)
174 struct vop_getattr_args /* {
175 struct vnode *a_vp;
176 struct vattr *a_vap;
177 struct ucred *a_cred;
178 struct proc *a_p;
179 } */ *ap;
180

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

214#else
215/* XXX until cluster routines can handle block sizes less than one page */
216#define doclusterread 0
217#endif
218
219/*
220 * Vnode op for reading.
221 */
222int
220cd9660_read(ap)
221 struct vop_read_args /* {
222 struct vnode *a_vp;
223 struct uio *a_uio;
224 int a_ioflag;
225 struct ucred *a_cred;
226 } */ *ap;
227{

--- 811 unchanged lines hidden ---
223cd9660_read(ap)
224 struct vop_read_args /* {
225 struct vnode *a_vp;
226 struct uio *a_uio;
227 int a_ioflag;
228 struct ucred *a_cred;
229 } */ *ap;
230{

--- 811 unchanged lines hidden ---