summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-format.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-10-11 04:34:48 +0000
committerChris Johns <chrisj@rtems.org>2010-10-11 04:34:48 +0000
commit0a127c5591ec0b3e3c58e84702328e15809605e2 (patch)
tree0715fe1a84cbd8561d0ee2d1dadbe10dc20cdf14 /cpukit/libfs/src/rfs/rtems-rfs-format.c
parent2010-10-11 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-0a127c5591ec0b3e3c58e84702328e15809605e2.tar.bz2
2010-10-11 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-trace.c, libfs/src/rfs/rtems-rfs-trace.h: Add inode-delete. * libfs/src/rfs/rtems-rfs-shell.c: Fix formatting. * libfs/src/rfs/rtems-rfs-rtems-dir.c: Use ssize_t. Fix spelling. * libfs/src/rfs/rtems-rfs-block.c: Fix rtems_rfs_block_get_bpos to return the position correctly. A bpos does not have any special processing. Do no reset the buffer handle when shrinking indirectly. * libfs/src/rfs/rtems-rfs-inode.c: Add trace. * libfs/src/rfs/rtems-rfs-format.c: Fix comments. * libfs/src/rfs/rtems-rfs-group.c: Limit the inodes to the blocks in a group so the accounting works. * libfs/src/rfs/rtems-rfs-dir.c: PR 1705. Fix handling the offsets when deleting an entry. * libfs/src/rfs/rtems-rfs-buffer.h: Remove rtems_rfs_buffer_handle_reset. It is not needed and dangerous.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-format.c')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-format.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-format.c b/cpukit/libfs/src/rfs/rtems-rfs-format.c
index e92228f4da..8199466bfb 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-format.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-format.c
@@ -84,8 +84,7 @@ rtems_rfs_inode_overhead (rtems_rfs_file_system* fs)
rtems_rfs_fs_block_size (fs));
bits_per_block = rtems_rfs_bits_per_block (fs);
/*
- * There could be more bits that there are blocks, eg 512K disk with 512
- * blocks.
+ * There could be more bits than blocks, eg 512K disk with 512 blocks.
*/
if (bits_per_block > (rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE))
bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
@@ -353,7 +352,7 @@ rtems_rfs_write_group (rtems_rfs_file_system* fs,
rtems_rfs_buffer_mark_dirty (&handle);
/*
- * Initialise the inode tables if rerquired to do so.
+ * Initialise the inode tables if required to do so.
*/
if (initialise_inodes)
{