diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-10 22:25:42 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-10 22:25:42 +0000 |
commit | 75620ac949dd3721e425f478f0f19b04970e0370 (patch) | |
tree | 03841cbb2a5b33bd925b845f9fc38f0d69c886d7 /ufs | |
parent | 8688b93e717a34ec246a90e1757cb3d502f89a98 (diff) |
Formerly fs.h.~2~
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/fs.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 \ |