Commit 70261f56 authored by Anatol Pomozov's avatar Anatol Pomozov Committed by Theodore Ts'o

ext4: Fix misspellings using 'codespell' tool

Signed-off-by: default avatarAnatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 7afe5aa5
...@@ -41,7 +41,7 @@ static unsigned char get_dtype(struct super_block *sb, int filetype) ...@@ -41,7 +41,7 @@ static unsigned char get_dtype(struct super_block *sb, int filetype)
/** /**
* Check if the given dir-inode refers to an htree-indexed directory * Check if the given dir-inode refers to an htree-indexed directory
* (or a directory which chould potentially get coverted to use htree * (or a directory which could potentially get converted to use htree
* indexing). * indexing).
* *
* Return 1 if it is a dx dir, 0 if not * Return 1 if it is a dx dir, 0 if not
......
...@@ -33,7 +33,7 @@ static int ext4_dx_readdir(struct file *, struct dir_context *); ...@@ -33,7 +33,7 @@ static int ext4_dx_readdir(struct file *, struct dir_context *);
/** /**
* Check if the given dir-inode refers to an htree-indexed directory * Check if the given dir-inode refers to an htree-indexed directory
* (or a directory which chould potentially get coverted to use htree * (or a directory which could potentially get converted to use htree
* indexing). * indexing).
* *
* Return 1 if it is a dx dir, 0 if not * Return 1 if it is a dx dir, 0 if not
......
...@@ -197,7 +197,7 @@ static inline void ext4_journal_callback_add(handle_t *handle, ...@@ -197,7 +197,7 @@ static inline void ext4_journal_callback_add(handle_t *handle,
* ext4_journal_callback_del: delete a registered callback * ext4_journal_callback_del: delete a registered callback
* @handle: active journal transaction handle on which callback was registered * @handle: active journal transaction handle on which callback was registered
* @jce: registered journal callback entry to unregister * @jce: registered journal callback entry to unregister
* Return true if object was sucessfully removed * Return true if object was successfully removed
*/ */
static inline bool ext4_journal_callback_try_del(handle_t *handle, static inline bool ext4_journal_callback_try_del(handle_t *handle,
struct ext4_journal_cb_entry *jce) struct ext4_journal_cb_entry *jce)
......
...@@ -3220,7 +3220,7 @@ static int ext4_split_extent_at(handle_t *handle, ...@@ -3220,7 +3220,7 @@ static int ext4_split_extent_at(handle_t *handle,
* ext4_split_extents() splits an extent and mark extent which is covered * ext4_split_extents() splits an extent and mark extent which is covered
* by @map as split_flags indicates * by @map as split_flags indicates
* *
* It may result in splitting the extent into multiple extents (upto three) * It may result in splitting the extent into multiple extents (up to three)
* There are three possibilities: * There are three possibilities:
* a> There is no split required * a> There is no split required
* b> Splits in two extents: Split is happening at either end of the extent * b> Splits in two extents: Split is happening at either end of the extent
......
...@@ -1916,7 +1916,7 @@ static int mpage_submit_page(struct mpage_da_data *mpd, struct page *page) ...@@ -1916,7 +1916,7 @@ static int mpage_submit_page(struct mpage_da_data *mpd, struct page *page)
/* /*
* mballoc gives us at most this number of blocks... * mballoc gives us at most this number of blocks...
* XXX: That seems to be only a limitation of ext4_mb_normalize_request(). * XXX: That seems to be only a limitation of ext4_mb_normalize_request().
* The rest of mballoc seems to handle chunks upto full group size. * The rest of mballoc seems to handle chunks up to full group size.
*/ */
#define MAX_WRITEPAGES_EXTENT_LEN 2048 #define MAX_WRITEPAGES_EXTENT_LEN 2048
...@@ -2057,7 +2057,7 @@ static int mpage_map_and_submit_buffers(struct mpage_da_data *mpd) ...@@ -2057,7 +2057,7 @@ static int mpage_map_and_submit_buffers(struct mpage_da_data *mpd)
if (page->index > end) if (page->index > end)
break; break;
/* Upto 'end' pages must be contiguous */ /* Up to 'end' pages must be contiguous */
BUG_ON(page->index != start); BUG_ON(page->index != start);
bh = head = page_buffers(page); bh = head = page_buffers(page);
do { do {
...@@ -2256,7 +2256,7 @@ static int mpage_map_and_submit_extent(handle_t *handle, ...@@ -2256,7 +2256,7 @@ static int mpage_map_and_submit_extent(handle_t *handle,
/* /*
* Calculate the total number of credits to reserve for one writepages * Calculate the total number of credits to reserve for one writepages
* iteration. This is called from ext4_writepages(). We map an extent of * iteration. This is called from ext4_writepages(). We map an extent of
* upto MAX_WRITEPAGES_EXTENT_LEN blocks and then we go on and finish mapping * up to MAX_WRITEPAGES_EXTENT_LEN blocks and then we go on and finish mapping
* the last partial page. So in total we can map MAX_WRITEPAGES_EXTENT_LEN + * the last partial page. So in total we can map MAX_WRITEPAGES_EXTENT_LEN +
* bpp - 1 blocks in bpp different extents. * bpp - 1 blocks in bpp different extents.
*/ */
...@@ -2443,7 +2443,7 @@ static int ext4_writepages(struct address_space *mapping, ...@@ -2443,7 +2443,7 @@ static int ext4_writepages(struct address_space *mapping,
if (ext4_should_dioread_nolock(inode)) { if (ext4_should_dioread_nolock(inode)) {
/* /*
* We may need to convert upto one extent per block in * We may need to convert up to one extent per block in
* the page and we may dirty the inode. * the page and we may dirty the inode.
*/ */
rsv_blocks = 1 + (PAGE_CACHE_SIZE >> inode->i_blkbits); rsv_blocks = 1 + (PAGE_CACHE_SIZE >> inode->i_blkbits);
......
...@@ -494,7 +494,7 @@ int ext4_ext_migrate(struct inode *inode) ...@@ -494,7 +494,7 @@ int ext4_ext_migrate(struct inode *inode)
* superblock modification. * superblock modification.
* *
* For the tmp_inode we already have committed the * For the tmp_inode we already have committed the
* trascation that created the inode. Later as and * transaction that created the inode. Later as and
* when we add extents we extent the journal * when we add extents we extent the journal
*/ */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment