aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2013-08-28 14:40:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-08-28 14:40:12 -0400
commit70261f568f3c08552f034742e3d5cb78c3877766 (patch)
tree3234aed602a716519b10ac336d58186751405eda /fs/ext4
parent7afe5aa59ed3da7b6161617e7f157c7c680dc41e (diff)
ext4: Fix misspellings using 'codespell' tool
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/dir.c2
-rw-r--r--fs/ext4/ext4_jbd2.h2
-rw-r--r--fs/ext4/extents.c2
-rw-r--r--fs/ext4/inode.c8
-rw-r--r--fs/ext4/migrate.c2
5 files changed, 8 insertions, 8 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index 3c7d288ae94c..680bb3388919 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -33,7 +33,7 @@ static int ext4_dx_readdir(struct file *, struct dir_context *);
33 33
34/** 34/**
35 * Check if the given dir-inode refers to an htree-indexed directory 35 * Check if the given dir-inode refers to an htree-indexed directory
36 * (or a directory which chould potentially get coverted to use htree 36 * (or a directory which could potentially get converted to use htree
37 * indexing). 37 * indexing).
38 * 38 *
39 * Return 1 if it is a dx dir, 0 if not 39 * Return 1 if it is a dx dir, 0 if not
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h
index 2877258d9497..81cfefa9dc0c 100644
--- a/fs/ext4/ext4_jbd2.h
+++ b/fs/ext4/ext4_jbd2.h
@@ -197,7 +197,7 @@ static inline void ext4_journal_callback_add(handle_t *handle,
197 * ext4_journal_callback_del: delete a registered callback 197 * ext4_journal_callback_del: delete a registered callback
198 * @handle: active journal transaction handle on which callback was registered 198 * @handle: active journal transaction handle on which callback was registered
199 * @jce: registered journal callback entry to unregister 199 * @jce: registered journal callback entry to unregister
200 * Return true if object was sucessfully removed 200 * Return true if object was successfully removed
201 */ 201 */
202static inline bool ext4_journal_callback_try_del(handle_t *handle, 202static inline bool ext4_journal_callback_try_del(handle_t *handle,
203 struct ext4_journal_cb_entry *jce) 203 struct ext4_journal_cb_entry *jce)
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index e7580aeb6fbc..916e88498c87 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -3220,7 +3220,7 @@ fix_extent_len:
3220 * ext4_split_extents() splits an extent and mark extent which is covered 3220 * ext4_split_extents() splits an extent and mark extent which is covered
3221 * by @map as split_flags indicates 3221 * by @map as split_flags indicates
3222 * 3222 *
3223 * It may result in splitting the extent into multiple extents (upto three) 3223 * It may result in splitting the extent into multiple extents (up to three)
3224 * There are three possibilities: 3224 * There are three possibilities:
3225 * a> There is no split required 3225 * a> There is no split required
3226 * b> Splits in two extents: Split is happening at either end of the extent 3226 * b> Splits in two extents: Split is happening at either end of the extent
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 47c8e4654371..9115f2807515 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -1916,7 +1916,7 @@ static int mpage_submit_page(struct mpage_da_data *mpd, struct page *page)
1916/* 1916/*
1917 * mballoc gives us at most this number of blocks... 1917 * mballoc gives us at most this number of blocks...
1918 * XXX: That seems to be only a limitation of ext4_mb_normalize_request(). 1918 * XXX: That seems to be only a limitation of ext4_mb_normalize_request().
1919 * The rest of mballoc seems to handle chunks upto full group size. 1919 * The rest of mballoc seems to handle chunks up to full group size.
1920 */ 1920 */
1921#define MAX_WRITEPAGES_EXTENT_LEN 2048 1921#define MAX_WRITEPAGES_EXTENT_LEN 2048
1922 1922
@@ -2057,7 +2057,7 @@ static int mpage_map_and_submit_buffers(struct mpage_da_data *mpd)
2057 2057
2058 if (page->index > end) 2058 if (page->index > end)
2059 break; 2059 break;
2060 /* Upto 'end' pages must be contiguous */ 2060 /* Up to 'end' pages must be contiguous */
2061 BUG_ON(page->index != start); 2061 BUG_ON(page->index != start);
2062 bh = head = page_buffers(page); 2062 bh = head = page_buffers(page);
2063 do { 2063 do {
@@ -2256,7 +2256,7 @@ static int mpage_map_and_submit_extent(handle_t *handle,
2256/* 2256/*
2257 * Calculate the total number of credits to reserve for one writepages 2257 * Calculate the total number of credits to reserve for one writepages
2258 * iteration. This is called from ext4_writepages(). We map an extent of 2258 * iteration. This is called from ext4_writepages(). We map an extent of
2259 * upto MAX_WRITEPAGES_EXTENT_LEN blocks and then we go on and finish mapping 2259 * up to MAX_WRITEPAGES_EXTENT_LEN blocks and then we go on and finish mapping
2260 * the last partial page. So in total we can map MAX_WRITEPAGES_EXTENT_LEN + 2260 * the last partial page. So in total we can map MAX_WRITEPAGES_EXTENT_LEN +
2261 * bpp - 1 blocks in bpp different extents. 2261 * bpp - 1 blocks in bpp different extents.
2262 */ 2262 */
@@ -2443,7 +2443,7 @@ static int ext4_writepages(struct address_space *mapping,
2443 2443
2444 if (ext4_should_dioread_nolock(inode)) { 2444 if (ext4_should_dioread_nolock(inode)) {
2445 /* 2445 /*
2446 * We may need to convert upto one extent per block in 2446 * We may need to convert up to one extent per block in
2447 * the page and we may dirty the inode. 2447 * the page and we may dirty the inode.
2448 */ 2448 */
2449 rsv_blocks = 1 + (PAGE_CACHE_SIZE >> inode->i_blkbits); 2449 rsv_blocks = 1 + (PAGE_CACHE_SIZE >> inode->i_blkbits);
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c
index f99bdb8548b2..2ae73a80c19b 100644
--- a/fs/ext4/migrate.c
+++ b/fs/ext4/migrate.c
@@ -494,7 +494,7 @@ int ext4_ext_migrate(struct inode *inode)
494 * superblock modification. 494 * superblock modification.
495 * 495 *
496 * For the tmp_inode we already have committed the 496 * For the tmp_inode we already have committed the
497 * trascation that created the inode. Later as and 497 * transaction that created the inode. Later as and
498 * when we add extents we extent the journal 498 * when we add extents we extent the journal
499 */ 499 */
500 /* 500 /*