diff options
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/dir.c | 2 | ||||
-rw-r--r-- | ext2fs/ext2fs.h | 9 | ||||
-rw-r--r-- | ext2fs/getblk.c | 6 |
3 files changed, 8 insertions, 9 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c index 1ad9f7e6..334536d8 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -857,7 +857,7 @@ count_dirents (struct node *dp, int nb, char *buf) Must be a power of two. */ #define DIRENT_ALIGN 4 -/* Implement the disikfs_get_directs callback as described in +/* Implement the diskfs_get_directs callback as described in <hurd/diskfs.h>. */ error_t diskfs_get_directs (struct node *dp, diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h index cae9d47f..1d490861 100644 --- a/ext2fs/ext2fs.h +++ b/ext2fs/ext2fs.h @@ -1,8 +1,7 @@ /* Common definitions for the ext2 filesystem translator - Copyright (C) 1995, 1996, 1999, 2002 Free Software Foundation, Inc. - - Written by Miles Bader <miles@gnu.ai.mit.edu> + Copyright (C) 1995, 1996, 1999, 2002, 2004 Free Software Foundation, Inc. + Written by Miles Bader <miles@gnu.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -408,8 +407,8 @@ alloc_sync (struct node *np) void ext2_discard_prealloc (struct node *node); -/* Returns in DISK_BLOCK the disk block correspding to BLOCK in NODE. If - there is no such block yet, but CREATE is true, then it is created, +/* Returns in DISK_BLOCK the disk block corresponding to BLOCK in NODE. + If there is no such block yet, but CREATE is true, then it is created, otherwise EINVAL is returned. */ error_t ext2_getblk (struct node *node, block_t block, int create, block_t *disk_block); diff --git a/ext2fs/getblk.c b/ext2fs/getblk.c index 5858daba..23ba6459 100644 --- a/ext2fs/getblk.c +++ b/ext2fs/getblk.c @@ -1,6 +1,6 @@ /* File block to disk block mapping routines - Copyright (C) 1995,96,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,99,2000,2004 Free Software Foundation, Inc. Converted to work under the hurd by Miles Bader <miles@gnu.org> @@ -225,8 +225,8 @@ block_getblk (struct node *node, block_t block, int nr, int create, int zero, return 0; } -/* Returns in DISK_BLOCK the disk block correspding to BLOCK in NODE. If - there is no such block yet, but CREATE is true, then it is created, +/* Returns in DISK_BLOCK the disk block corresponding to BLOCK in NODE. + If there is no such block yet, but CREATE is true, then it is created, otherwise EINVAL is returned. */ error_t ext2_getblk (struct node *node, block_t block, int create, block_t *disk_block) |