Deleted Added
full compact
cd9660_vfsops.c (30474) cd9660_vfsops.c (31016)
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.30 1997/10/12 20:23:38 phk Exp $
39 * $Id: cd9660_vfsops.c,v 1.31 1997/10/16 10:47:43 phk 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>

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

264 struct buf *bp = NULL;
265 dev_t dev = devvp->v_rdev;
266 int error = EINVAL;
267 int needclose = 0;
268 int high_sierra = 0;
269 int ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
270 int iso_bsize;
271 int iso_blknum;
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>

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

264 struct buf *bp = NULL;
265 dev_t dev = devvp->v_rdev;
266 int error = EINVAL;
267 int needclose = 0;
268 int high_sierra = 0;
269 int ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
270 int iso_bsize;
271 int iso_blknum;
272 struct iso_volume_descriptor *vdp;
272 struct iso_volume_descriptor *vdp = 0;
273 struct iso_primary_descriptor *pri;
274 struct iso_sierra_primary_descriptor *pri_sierra;
275 struct iso_directory_record *rootp;
276 int logical_block_size;
277
278 if (!ronly)
279 return EROFS;
280

--- 595 unchanged lines hidden ---
273 struct iso_primary_descriptor *pri;
274 struct iso_sierra_primary_descriptor *pri_sierra;
275 struct iso_directory_record *rootp;
276 int logical_block_size;
277
278 if (!ronly)
279 return EROFS;
280

--- 595 unchanged lines hidden ---