summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-01-10 22:08:58 +0000
committerRoland McGrath <roland@gnu.org>2004-01-10 22:08:58 +0000
commitd19efd5d1946c26229f678f89ff290a7d4d11c32 (patch)
tree750374d7e28dc1ceaddfb6e5d25d2f54a643a7c7 /ext2fs
parentde2c310e9c64d77989f4bab08e527b6cfbf8048c (diff)
2004-01-10 Roberto Reale <rreale@iol.it>
* ext2fs.h (ext2_getblk): Fix typo in comment. * getblk.c (ext2_getblk): Likewise. * dir.c (diskfs_get_directs): Likewise.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/dir.c2
-rw-r--r--ext2fs/ext2fs.h9
-rw-r--r--ext2fs/getblk.c6
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)