diff options
Diffstat (limited to 'sys/isofs/udf/udf.h')
-rw-r--r-- | sys/isofs/udf/udf.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/isofs/udf/udf.h b/sys/isofs/udf/udf.h index 67691fc0c94..cf2b803df5b 100644 --- a/sys/isofs/udf/udf.h +++ b/sys/isofs/udf/udf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: udf.h,v 1.10 2006/07/11 22:02:08 pedro Exp $ */ +/* $OpenBSD: udf.h,v 1.11 2006/07/12 14:26:44 pedro Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -108,21 +108,6 @@ udf_readlblks(struct umount *ump, int sector, int size, struct buf **bp) (size + ump->um_bmask) & ~ump->um_bmask, bp)); } -static __inline int -udf_readalblks(struct umount *ump, int lsector, int size, struct buf **bp) -{ - daddr_t rablock, lblk; - int rasize; - - lblk = (lsector + ump->um_start) << (ump->um_bshift - DEV_BSHIFT); - rablock = (lblk + 1) << ump->um_bshift; - rasize = size; - - return (breadn(ump->um_devvp, lblk, - (size + ump->um_bmask) & ~ump->um_bmask, - &rablock, &rasize, 1, NOCRED, bp)); -} - /* * Produce a suitable file number from an ICB. The passed in ICB is expected * to be in little endian (meaning that it hasn't been swapped for big |