You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
+1
-1
@@ -403,7 +403,7 @@ void jbd2_journal_commit_transaction(journal_t *journal)
|
||||
* we do not require it to remember exactly which old buffers it
|
||||
* has reserved. This is consistent with the existing behaviour
|
||||
* that multiple jbd2_journal_get_write_access() calls to the same
|
||||
* buffer are perfectly permissable.
|
||||
* buffer are perfectly permissible.
|
||||
*/
|
||||
while (commit_transaction->t_reserved_list) {
|
||||
jh = commit_transaction->t_reserved_list;
|
||||
|
||||
+2
-2
@@ -917,7 +917,7 @@ journal_t * jbd2_journal_init_dev(struct block_device *bdev,
|
||||
journal->j_wbufsize = n;
|
||||
journal->j_wbuf = kmalloc(n * sizeof(struct buffer_head*), GFP_KERNEL);
|
||||
if (!journal->j_wbuf) {
|
||||
printk(KERN_ERR "%s: Cant allocate bhs for commit thread\n",
|
||||
printk(KERN_ERR "%s: Can't allocate bhs for commit thread\n",
|
||||
__func__);
|
||||
goto out_err;
|
||||
}
|
||||
@@ -983,7 +983,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode)
|
||||
journal->j_wbufsize = n;
|
||||
journal->j_wbuf = kmalloc(n * sizeof(struct buffer_head*), GFP_KERNEL);
|
||||
if (!journal->j_wbuf) {
|
||||
printk(KERN_ERR "%s: Cant allocate bhs for commit thread\n",
|
||||
printk(KERN_ERR "%s: Can't allocate bhs for commit thread\n",
|
||||
__func__);
|
||||
goto out_err;
|
||||
}
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@
|
||||
* switching hash tables under them. For operations on the lists of entries in
|
||||
* the hash table j_revoke_lock is used.
|
||||
*
|
||||
* Finally, also replay code uses the hash tables but at this moment noone else
|
||||
* Finally, also replay code uses the hash tables but at this moment no one else
|
||||
* can touch them (filesystem isn't mounted yet) and hence no locking is
|
||||
* needed.
|
||||
*/
|
||||
|
||||
@@ -1403,7 +1403,7 @@ int jbd2_journal_stop(handle_t *handle)
|
||||
|
||||
/*
|
||||
* Once we drop t_updates, if it goes to zero the transaction
|
||||
* could start commiting on us and eventually disappear. So
|
||||
* could start committing on us and eventually disappear. So
|
||||
* once we do this, we must not dereference transaction
|
||||
* pointer again.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user