diff options
| author | 2006-07-08 23:29:20 +0000 | |
|---|---|---|
| committer | 2006-07-08 23:29:20 +0000 | |
| commit | 1af96ccc163e63b85fe36699315fa3661a60afe1 (patch) | |
| tree | 519e3659d9762e1152c37f2a7851837af66cc1de /sys/isofs/udf/udf_subr.c | |
| parent | udf_node -> unode and rename fields accordingly (diff) | |
| download | wireguard-openbsd-1af96ccc163e63b85fe36699315fa3661a60afe1.tar.xz wireguard-openbsd-1af96ccc163e63b85fe36699315fa3661a60afe1.zip | |
Be consistent about how we name 'struct unode' instances
Diffstat (limited to 'sys/isofs/udf/udf_subr.c')
| -rw-r--r-- | sys/isofs/udf/udf_subr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/isofs/udf/udf_subr.c b/sys/isofs/udf/udf_subr.c index c6755d6b7bd..bf3632d2d04 100644 --- a/sys/isofs/udf/udf_subr.c +++ b/sys/isofs/udf/udf_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_subr.c,v 1.7 2006/07/08 23:11:59 pedro Exp $ */ +/* $OpenBSD: udf_subr.c,v 1.8 2006/07/08 23:29:20 pedro Exp $ */ /* * Copyright (c) 2006, Miodrag Vallat @@ -186,15 +186,15 @@ int udf_vat_get(struct udf_mnt *ump) { struct vnode *vp; - struct unode *unp; + struct unode *up; int error; error = udf_vget(ump->im_mountp, ump->part_len - 3, &vp); if (error) return (error); - unp = VTOU(vp); - unp->u_vatlen = (letoh64(unp->u_fentry->inf_len) - 36) >> 2; + up = VTOU(vp); + up->u_vatlen = (letoh64(up->u_fentry->inf_len) - 36) >> 2; ump->im_vat = vp; ump->im_flags &= ~UDF_MNT_FIND_VAT; @@ -226,19 +226,19 @@ udf_vat_map(struct udf_mnt *ump, uint32_t *sector) int udf_vat_read(struct udf_mnt *ump, uint32_t *sector) { - struct unode *unp; + struct unode *up; struct buf *bp; uint8_t *data; int error, size; - unp = VTOU(ump->im_vat); + up = VTOU(ump->im_vat); size = 4; /* * Note that we rely on the buffer cache to keep frequently accessed * buffers around to avoid reading them from the disk all the time. */ - error = udf_readatoffset(unp, &size, *sector << 2, &bp, &data); + error = udf_readatoffset(up, &size, *sector << 2, &bp, &data); if (error) { if (bp != NULL) brelse(bp); |
