hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/fs/ext4/migrate.c
....@@ -32,7 +32,7 @@
3232 newext.ee_block = cpu_to_le32(lb->first_block);
3333 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1);
3434 ext4_ext_store_pblock(&newext, lb->first_pblock);
35
- /* Locking only for convinience since we are operating on temp inode */
35
+ /* Locking only for convenience since we are operating on temp inode */
3636 down_write(&EXT4_I(inode)->i_data_sem);
3737 path = ext4_find_extent(inode, lb->first_block, NULL, 0);
3838 if (IS_ERR(path)) {
....@@ -43,8 +43,8 @@
4343
4444 /*
4545 * Calculate the credit needed to inserting this extent
46
- * Since we are doing this in loop we may accumalate extra
47
- * credit. But below we try to not accumalate too much
46
+ * Since we are doing this in loop we may accumulate extra
47
+ * credit. But below we try to not accumulate too much
4848 * of them by restarting the journal.
4949 */
5050 needed = ext4_ext_calc_credits_for_single_extent(inode,