Deleted Added
full compact
udf_vfsops.c (105077) udf_vfsops.c (109623)
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 105077 2002-10-14 03:20:36Z mckusick $
26 * $FreeBSD: head/sys/fs/udf/udf_vfsops.c 109623 2003-01-21 08:56:16Z alfred $
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.

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

557 if (*vpp != NULL) {
558 return (0);
559 }
560
561 /*
562 * Allocate memory and check the tag id's before grabbing a new
563 * vnode, since it's hard to roll back if there is a problem.
564 */
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.

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

557 if (*vpp != NULL) {
558 return (0);
559 }
560
561 /*
562 * Allocate memory and check the tag id's before grabbing a new
563 * vnode, since it's hard to roll back if there is a problem.
564 */
565 unode = uma_zalloc(udf_zone_node, M_WAITOK);
565 unode = uma_zalloc(udf_zone_node, 0);
566 if (unode == NULL) {
567 printf("Cannot allocate udf node\n");
568 return (ENOMEM);
569 }
570
571 /*
572 * Copy in the file entry. Per the spec, the size can only be 1 block.
573 */

--- 191 unchanged lines hidden ---
566 if (unode == NULL) {
567 printf("Cannot allocate udf node\n");
568 return (ENOMEM);
569 }
570
571 /*
572 * Copy in the file entry. Per the spec, the size can only be 1 block.
573 */

--- 191 unchanged lines hidden ---