udf_vnops.c (6fa079fc3f5e7e120f166420c6f0c60f701ba9ae) udf_vnops.c (d292b1940c9cc327810627c486cbcfa7e12ce8ad)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

175 default:
176 break;
177 }
178 }
179
180 mode = udf_permtomode(node);
181
182 return (vaccess(vp->v_type, mode, node->fentry->uid, node->fentry->gid,
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

175 default:
176 break;
177 }
178 }
179
180 mode = udf_permtomode(node);
181
182 return (vaccess(vp->v_type, mode, node->fentry->uid, node->fentry->gid,
183 accmode, a->a_cred, NULL));
183 accmode, a->a_cred));
184}
185
186static int
187udf_open(struct vop_open_args *ap) {
188 struct udf_node *np = VTON(ap->a_vp);
189 off_t fsize;
190
191 fsize = le64toh(np->fentry->inf_len);

--- 1302 unchanged lines hidden ---
184}
185
186static int
187udf_open(struct vop_open_args *ap) {
188 struct udf_node *np = VTON(ap->a_vp);
189 off_t fsize;
190
191 fsize = le64toh(np->fentry->inf_len);

--- 1302 unchanged lines hidden ---