From c7ad3c1c1cb38db62050ccb04914d1e34b1d33f7 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 10 Feb 1994 22:25:42 +0000 Subject: Formerly fs.h.~2~ --- ufs/fs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ufs/fs.h b/ufs/fs.h index c1dd5681..2efc6910 100644 --- a/ufs/fs.h +++ b/ufs/fs.h @@ -1,5 +1,5 @@ /* Format of a filesystem on disk (superblock and cylinder groups) - Copyright (C) 1991, 1993 Free Software Foundation + Copyright (C) 1991, 1993, 1994 Free Software Foundation This file is part of the GNU Hurd. @@ -423,10 +423,10 @@ struct ocg { /* * Determining the size of a file block in the file system. */ -#define blksize(ip, lbn) \ - (((lbn) >= NDADDR || (ip)->i_allocsize >= ((lbn) + 1) << sblock->fs_bshift) \ +#define blksize(np, lbn) \ + (((lbn) >= NDADDR || (np)->allocsize >= ((lbn) + 1) << sblock->fs_bshift) \ ? sblock->fs_bsize \ - : (fragroundup(blkoff((ip)->i_allocsize)))) + : (fragroundup(blkoff((np)->allocsize)))) #define dblksize(dip, lbn) \ (((lbn) >= NDADDR || (dip)->di_size >= ((lbn) + 1) << sblock->fs_bshift) \ ? sblock->fs_bsize \ -- cgit v1.2.3