ext4: fix various seppling typos
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Sat, 27 Mar 2021 10:30:05 +0000 (16:00 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 10 Apr 2021 03:14:59 +0000 (23:14 -0400)
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Link: https://lore.kernel.org/r/cover.1616840203.git.unixbhaskar@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c
fs/ext4/indirect.c
fs/ext4/inline.c
fs/ext4/inode.c
fs/ext4/mballoc.h
fs/ext4/migrate.c
fs/ext4/namei.c
fs/ext4/xattr.c

index 312273ed8a9fea4a02a916092b01533ec5f8674c..2ade51e29d83da4f74ae11fda8ce7f0b904d9e9a 100644 (file)
@@ -66,7 +66,7 @@
  * Fast Commit Ineligibility
  * -------------------------
  * Not all operations are supported by fast commits today (e.g extended
- * attributes). Fast commit ineligiblity is marked by calling one of the
+ * attributes). Fast commit ineligibility is marked by calling one of the
  * two following functions:
  *
  * - ext4_fc_mark_ineligible(): This makes next fast commit operation to fall
index 1223a18c3ff9a5f1884cb211f66f5b5de8c458e6..a7bc6ad656a9c73de7634945a5d510e8b6c309d2 100644 (file)
@@ -705,7 +705,7 @@ static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode,
 
 /*
  * Truncate transactions can be complex and absolutely huge.  So we need to
- * be able to restart the transaction at a conventient checkpoint to make
+ * be able to restart the transaction at a convenient checkpoint to make
  * sure we don't overflow the journal.
  *
  * Try to extend this transaction for the purposes of truncation.  If
index ba960e6e7e3a08107332ba6c41212b412c628f73..3cf01629010d95617b216932761166074b32b00e 100644 (file)
@@ -795,7 +795,7 @@ ext4_journalled_write_inline_data(struct inode *inode,
  *    clear the inode state safely.
  * 2. The inode has inline data, then we need to read the data, make it
  *    update and dirty so that ext4_da_writepages can handle it. We don't
- *    need to start the journal since the file's metatdata isn't changed now.
+ *    need to start the journal since the file's metadata isn't changed now.
  */
 static int ext4_da_convert_inline_data_to_extent(struct address_space *mapping,
                                                 struct inode *inode,
index 32fa3ad387972e9e0bec70bb98f460ed10408edb..fe6045a465993bbf4234580d34080583f3e93e35 100644 (file)
@@ -3822,7 +3822,7 @@ unlock:
  * starting from file offset 'from'.  The range to be zero'd must
  * be contained with in one block.  If the specified range exceeds
  * the end of the block it will be shortened to end of the block
- * that cooresponds to 'from'
+ * that corresponds to 'from'
  */
 static int ext4_block_zero_page_range(handle_t *handle,
                struct address_space *mapping, loff_t from, loff_t length)
index 02585e3cbcadd7796967c7a4391d591c783a4baf..39da92ceabf88f9041f4dbcd8c348309436abbdf 100644 (file)
@@ -59,7 +59,7 @@
  * by the stream allocator, which purpose is to pack requests
  * as close each to other as possible to produce smooth I/O traffic
  * We use locality group prealloc space for stream request.
- * We can tune the same via /proc/fs/ext4/<parition>/stream_req
+ * We can tune the same via /proc/fs/ext4/<partition>/stream_req
  */
 #define MB_DEFAULT_STREAM_THRESHOLD    16      /* 64K */
 
index c5e3fc998211acfe9449e8be42ef2c6cd96542d7..7e0b4f81c6c066a23ecb1b26a94dc4fba192b19c 100644 (file)
@@ -32,7 +32,7 @@ static int finish_range(handle_t *handle, struct inode *inode,
        newext.ee_block = cpu_to_le32(lb->first_block);
        newext.ee_len   = cpu_to_le16(lb->last_block - lb->first_block + 1);
        ext4_ext_store_pblock(&newext, lb->first_pblock);
-       /* Locking only for convinience since we are operating on temp inode */
+       /* Locking only for convenience since we are operating on temp inode */
        down_write(&EXT4_I(inode)->i_data_sem);
        path = ext4_find_extent(inode, lb->first_block, NULL, 0);
        if (IS_ERR(path)) {
@@ -43,8 +43,8 @@ static int finish_range(handle_t *handle, struct inode *inode,
 
        /*
         * Calculate the credit needed to inserting this extent
-        * Since we are doing this in loop we may accumalate extra
-        * credit. But below we try to not accumalate too much
+        * Since we are doing this in loop we may accumulate extra
+        * credit. But below we try to not accumulate too much
         * of them by restarting the journal.
         */
        needed = ext4_ext_calc_credits_for_single_extent(inode,
index f2e9cb71763d2b4b5b1086ff9916ae873b681702..610cb0636ee72aed2fa206110dc4ed7635a3ff75 100644 (file)
@@ -979,7 +979,7 @@ static int ext4_htree_next_block(struct inode *dir, __u32 hash,
         * If the hash is 1, then continue only if the next page has a
         * continuation hash of any value.  This is used for readdir
         * handling.  Otherwise, check to see if the hash matches the
-        * desired contiuation hash.  If it doesn't, return since
+        * desired continuation hash.  If it doesn't, return since
         * there's no point to read in the successive index pages.
         */
        bhash = dx_get_hash(p->at);
index 6c1018223c54af36ddec9c885e7b4b278d5a3c96..10ba4b24a0aa1c21c32fa9a263f01012f4167ef5 100644 (file)
@@ -1617,7 +1617,7 @@ static int ext4_xattr_set_entry(struct ext4_xattr_info *i,
                 * If storing the value in an external inode is an option,
                 * reserve space for xattr entries/names in the external
                 * attribute block so that a long value does not occupy the
-                * whole space and prevent futher entries being added.
+                * whole space and prevent further entries being added.
                 */
                if (ext4_has_feature_ea_inode(inode->i_sb) &&
                    new_size && is_block &&