aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2012-09-01 13:31:09 -0400
committerJiri Kosina <jkosina@suse.cz>2012-09-01 13:33:05 -0400
commit4907cb7b193a4f91c1fd30cf679c035e3644c64d (patch)
tree3a11b6fed733b906e005a7f7cfa5b5c6c78dbd49 /fs
parent203fa3fe9c9d79b3f4cd044cab13622123b6c578 (diff)
treewide: fix comment/printk/variable typos
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext2/balloc.c2
-rw-r--r--fs/ext3/balloc.c2
-rw-r--r--fs/ext3/inode.c2
-rw-r--r--fs/ext4/inode.c14
-rw-r--r--fs/ext4/mballoc.c2
5 files changed, 11 insertions, 11 deletions
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index 1c361399886..905166a3ffb 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -479,7 +479,7 @@ void ext2_discard_reservation(struct inode *inode)
479/** 479/**
480 * ext2_free_blocks() -- Free given blocks and update quota and i_blocks 480 * ext2_free_blocks() -- Free given blocks and update quota and i_blocks
481 * @inode: inode 481 * @inode: inode
482 * @block: start physcial block to free 482 * @block: start physical block to free
483 * @count: number of blocks to free 483 * @count: number of blocks to free
484 */ 484 */
485void ext2_free_blocks (struct inode * inode, unsigned long block, 485void ext2_free_blocks (struct inode * inode, unsigned long block,
diff --git a/fs/ext3/balloc.c b/fs/ext3/balloc.c
index 25cd6089211..7c6a31d44da 100644
--- a/fs/ext3/balloc.c
+++ b/fs/ext3/balloc.c
@@ -483,7 +483,7 @@ void ext3_discard_reservation(struct inode *inode)
483 * ext3_free_blocks_sb() -- Free given blocks and update quota 483 * ext3_free_blocks_sb() -- Free given blocks and update quota
484 * @handle: handle to this transaction 484 * @handle: handle to this transaction
485 * @sb: super block 485 * @sb: super block
486 * @block: start physcial block to free 486 * @block: start physical block to free
487 * @count: number of blocks to free 487 * @count: number of blocks to free
488 * @pdquot_freed_blocks: pointer to quota 488 * @pdquot_freed_blocks: pointer to quota
489 */ 489 */
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index 9a4a5c48b1c..3aff616d4d0 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -3196,7 +3196,7 @@ out_brelse:
3196 * 3196 *
3197 * - Within generic_file_write() for O_SYNC files. 3197 * - Within generic_file_write() for O_SYNC files.
3198 * Here, there will be no transaction running. We wait for any running 3198 * Here, there will be no transaction running. We wait for any running
3199 * trasnaction to commit. 3199 * transaction to commit.
3200 * 3200 *
3201 * - Within sys_sync(), kupdate and such. 3201 * - Within sys_sync(), kupdate and such.
3202 * We wait on commit, if tol to. 3202 * We wait on commit, if tol to.
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 02bc8cbe728..189dae6b096 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3227,7 +3227,7 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
3227 * handle: The journal handle 3227 * handle: The journal handle
3228 * inode: The files inode 3228 * inode: The files inode
3229 * page: A locked page that contains the offset "from" 3229 * page: A locked page that contains the offset "from"
3230 * from: The starting byte offset (from the begining of the file) 3230 * from: The starting byte offset (from the beginning of the file)
3231 * to begin discarding 3231 * to begin discarding
3232 * len: The length of bytes to discard 3232 * len: The length of bytes to discard
3233 * flags: Optional flags that may be used: 3233 * flags: Optional flags that may be used:
@@ -3235,11 +3235,11 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
3235 * EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED 3235 * EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED
3236 * Only zero the regions of the page whose buffer heads 3236 * Only zero the regions of the page whose buffer heads
3237 * have already been unmapped. This flag is appropriate 3237 * have already been unmapped. This flag is appropriate
3238 * for updateing the contents of a page whose blocks may 3238 * for updating the contents of a page whose blocks may
3239 * have already been released, and we only want to zero 3239 * have already been released, and we only want to zero
3240 * out the regions that correspond to those released blocks. 3240 * out the regions that correspond to those released blocks.
3241 * 3241 *
3242 * Returns zero on sucess or negative on failure. 3242 * Returns zero on success or negative on failure.
3243 */ 3243 */
3244static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle, 3244static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,
3245 struct inode *inode, struct page *page, loff_t from, 3245 struct inode *inode, struct page *page, loff_t from,
@@ -3400,7 +3400,7 @@ int ext4_can_truncate(struct inode *inode)
3400 * @offset: The offset where the hole will begin 3400 * @offset: The offset where the hole will begin
3401 * @len: The length of the hole 3401 * @len: The length of the hole
3402 * 3402 *
3403 * Returns: 0 on sucess or negative on failure 3403 * Returns: 0 on success or negative on failure
3404 */ 3404 */
3405 3405
3406int ext4_punch_hole(struct file *file, loff_t offset, loff_t length) 3406int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
@@ -3922,7 +3922,7 @@ static int ext4_inode_blocks_set(handle_t *handle,
3922 3922
3923 if (i_blocks <= ~0U) { 3923 if (i_blocks <= ~0U) {
3924 /* 3924 /*
3925 * i_blocks can be represnted in a 32 bit variable 3925 * i_blocks can be represented in a 32 bit variable
3926 * as multiple of 512 bytes 3926 * as multiple of 512 bytes
3927 */ 3927 */
3928 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks); 3928 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks);
@@ -4083,7 +4083,7 @@ out_brelse:
4083 * 4083 *
4084 * - Within generic_file_write() for O_SYNC files. 4084 * - Within generic_file_write() for O_SYNC files.
4085 * Here, there will be no transaction running. We wait for any running 4085 * Here, there will be no transaction running. We wait for any running
4086 * trasnaction to commit. 4086 * transaction to commit.
4087 * 4087 *
4088 * - Within sys_sync(), kupdate and such. 4088 * - Within sys_sync(), kupdate and such.
4089 * We wait on commit, if tol to. 4089 * We wait on commit, if tol to.
@@ -4327,7 +4327,7 @@ static int ext4_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
4327 * worse case, the indexs blocks spread over different block groups 4327 * worse case, the indexs blocks spread over different block groups
4328 * 4328 *
4329 * If datablocks are discontiguous, they are possible to spread over 4329 * If datablocks are discontiguous, they are possible to spread over
4330 * different block groups too. If they are contiuguous, with flexbg, 4330 * different block groups too. If they are contiguous, with flexbg,
4331 * they could still across block group boundary. 4331 * they could still across block group boundary.
4332 * 4332 *
4333 * Also account for superblock, inode, quota and xattr blocks 4333 * Also account for superblock, inode, quota and xattr blocks
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 1cd6994fc44..86831411e98 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4705,7 +4705,7 @@ error_return:
4705 * ext4_group_add_blocks() -- Add given blocks to an existing group 4705 * ext4_group_add_blocks() -- Add given blocks to an existing group
4706 * @handle: handle to this transaction 4706 * @handle: handle to this transaction
4707 * @sb: super block 4707 * @sb: super block
4708 * @block: start physcial block to add to the block group 4708 * @block: start physical block to add to the block group
4709 * @count: number of blocks to free 4709 * @count: number of blocks to free
4710 * 4710 *
4711 * This marks the blocks as free in the bitmap and buddy. 4711 * This marks the blocks as free in the bitmap and buddy.