aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-01 15:38:34 -0400
committerJiri Kosina <jkosina@suse.cz>2010-11-01 15:38:34 -0400
commitb595076a180a56d1bb170e6eceda6eb9d76f4cd3 (patch)
treebc01ec7283808013e0b8ce7713fd6fc40f810429 /fs/ext4
parent6aaccece1c483f189f76f1282b3984ff4c7ecb0a (diff)
tree-wide: fix comment/printk typos
"gadget", "through", "command", "maintain", "maintain", "controller", "address", "between", "initiali[zs]e", "instead", "function", "select", "already", "equal", "access", "management", "hierarchy", "registration", "interest", "relative", "memory", "offset", "already", Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/ext4.h2
-rw-r--r--fs/ext4/extents.c4
-rw-r--r--fs/ext4/inode.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 8b5dd6369f82..47162de0b957 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -577,7 +577,7 @@ struct ext4_mount_options {
577#endif 577#endif
578}; 578};
579 579
580/* Max physical block we can addres w/o extents */ 580/* Max physical block we can address w/o extents */
581#define EXT4_MAX_BLOCK_FILE_PHYS 0xFFFFFFFF 581#define EXT4_MAX_BLOCK_FILE_PHYS 0xFFFFFFFF
582 582
583/* 583/*
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 0554c48cb1fd..966ecb0d8f86 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -2825,14 +2825,14 @@ fix_extent_len:
2825 * to an uninitialized extent. 2825 * to an uninitialized extent.
2826 * 2826 *
2827 * Writing to an uninitized extent may result in splitting the uninitialized 2827 * Writing to an uninitized extent may result in splitting the uninitialized
2828 * extent into multiple /intialized unintialized extents (up to three) 2828 * extent into multiple /initialized uninitialized extents (up to three)
2829 * There are three possibilities: 2829 * There are three possibilities:
2830 * a> There is no split required: Entire extent should be uninitialized 2830 * a> There is no split required: Entire extent should be uninitialized
2831 * b> Splits in two extents: Write is happening at either end of the extent 2831 * b> Splits in two extents: Write is happening at either end of the extent
2832 * c> Splits in three extents: Somone is writing in middle of the extent 2832 * c> Splits in three extents: Somone is writing in middle of the extent
2833 * 2833 *
2834 * One of more index blocks maybe needed if the extent tree grow after 2834 * One of more index blocks maybe needed if the extent tree grow after
2835 * the unintialized extent split. To prevent ENOSPC occur at the IO 2835 * the uninitialized extent split. To prevent ENOSPC occur at the IO
2836 * complete, we need to split the uninitialized extent before DIO submit 2836 * complete, we need to split the uninitialized extent before DIO submit
2837 * the IO. The uninitialized extent called at this time will be split 2837 * the IO. The uninitialized extent called at this time will be split
2838 * into three uninitialized extent(at most). After IO complete, the part 2838 * into three uninitialized extent(at most). After IO complete, the part
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 191616470466..4bc84b8adb7f 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3740,9 +3740,9 @@ retry:
3740 * preallocated extents, and those write extend the file, no need to 3740 * preallocated extents, and those write extend the file, no need to
3741 * fall back to buffered IO. 3741 * fall back to buffered IO.
3742 * 3742 *
3743 * For holes, we fallocate those blocks, mark them as unintialized 3743 * For holes, we fallocate those blocks, mark them as uninitialized
3744 * If those blocks were preallocated, we mark sure they are splited, but 3744 * If those blocks were preallocated, we mark sure they are splited, but
3745 * still keep the range to write as unintialized. 3745 * still keep the range to write as uninitialized.
3746 * 3746 *
3747 * The unwrritten extents will be converted to written when DIO is completed. 3747 * The unwrritten extents will be converted to written when DIO is completed.
3748 * For async direct IO, since the IO may still pending when return, we 3748 * For async direct IO, since the IO may still pending when return, we