diff options
Diffstat (limited to 'fs/jbd2')
| -rw-r--r-- | fs/jbd2/commit.c | 2 | ||||
| -rw-r--r-- | fs/jbd2/journal.c | 4 | ||||
| -rw-r--r-- | fs/jbd2/revoke.c | 2 | ||||
| -rw-r--r-- | fs/jbd2/transaction.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index fa36d7662b21..20af62f4304b 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
| @@ -403,7 +403,7 @@ void jbd2_journal_commit_transaction(journal_t *journal) | |||
| 403 | * we do not require it to remember exactly which old buffers it | 403 | * we do not require it to remember exactly which old buffers it |
| 404 | * has reserved. This is consistent with the existing behaviour | 404 | * has reserved. This is consistent with the existing behaviour |
| 405 | * that multiple jbd2_journal_get_write_access() calls to the same | 405 | * that multiple jbd2_journal_get_write_access() calls to the same |
| 406 | * buffer are perfectly permissable. | 406 | * buffer are perfectly permissible. |
| 407 | */ | 407 | */ |
| 408 | while (commit_transaction->t_reserved_list) { | 408 | while (commit_transaction->t_reserved_list) { |
| 409 | jh = commit_transaction->t_reserved_list; | 409 | jh = commit_transaction->t_reserved_list; |
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 90407b8fece7..aba8ebaec25c 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c | |||
| @@ -917,7 +917,7 @@ journal_t * jbd2_journal_init_dev(struct block_device *bdev, | |||
| 917 | journal->j_wbufsize = n; | 917 | journal->j_wbufsize = n; |
| 918 | journal->j_wbuf = kmalloc(n * sizeof(struct buffer_head*), GFP_KERNEL); | 918 | journal->j_wbuf = kmalloc(n * sizeof(struct buffer_head*), GFP_KERNEL); |
| 919 | if (!journal->j_wbuf) { | 919 | if (!journal->j_wbuf) { |
| 920 | printk(KERN_ERR "%s: Cant allocate bhs for commit thread\n", | 920 | printk(KERN_ERR "%s: Can't allocate bhs for commit thread\n", |
| 921 | __func__); | 921 | __func__); |
| 922 | goto out_err; | 922 | goto out_err; |
| 923 | } | 923 | } |
| @@ -983,7 +983,7 @@ journal_t * jbd2_journal_init_inode (struct inode *inode) | |||
| 983 | journal->j_wbufsize = n; | 983 | journal->j_wbufsize = n; |
| 984 | journal->j_wbuf = kmalloc(n * sizeof(struct buffer_head*), GFP_KERNEL); | 984 | journal->j_wbuf = kmalloc(n * sizeof(struct buffer_head*), GFP_KERNEL); |
| 985 | if (!journal->j_wbuf) { | 985 | if (!journal->j_wbuf) { |
| 986 | printk(KERN_ERR "%s: Cant allocate bhs for commit thread\n", | 986 | printk(KERN_ERR "%s: Can't allocate bhs for commit thread\n", |
| 987 | __func__); | 987 | __func__); |
| 988 | goto out_err; | 988 | goto out_err; |
| 989 | } | 989 | } |
diff --git a/fs/jbd2/revoke.c b/fs/jbd2/revoke.c index 9ad321fd63fd..69fd93588118 100644 --- a/fs/jbd2/revoke.c +++ b/fs/jbd2/revoke.c | |||
| @@ -71,7 +71,7 @@ | |||
| 71 | * switching hash tables under them. For operations on the lists of entries in | 71 | * switching hash tables under them. For operations on the lists of entries in |
| 72 | * the hash table j_revoke_lock is used. | 72 | * the hash table j_revoke_lock is used. |
| 73 | * | 73 | * |
| 74 | * Finally, also replay code uses the hash tables but at this moment noone else | 74 | * Finally, also replay code uses the hash tables but at this moment no one else |
| 75 | * can touch them (filesystem isn't mounted yet) and hence no locking is | 75 | * can touch them (filesystem isn't mounted yet) and hence no locking is |
| 76 | * needed. | 76 | * needed. |
| 77 | */ | 77 | */ |
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 1d1191050f99..05fa77a23711 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c | |||
| @@ -1403,7 +1403,7 @@ int jbd2_journal_stop(handle_t *handle) | |||
| 1403 | 1403 | ||
| 1404 | /* | 1404 | /* |
| 1405 | * Once we drop t_updates, if it goes to zero the transaction | 1405 | * Once we drop t_updates, if it goes to zero the transaction |
| 1406 | * could start commiting on us and eventually disappear. So | 1406 | * could start committing on us and eventually disappear. So |
| 1407 | * once we do this, we must not dereference transaction | 1407 | * once we do this, we must not dereference transaction |
| 1408 | * pointer again. | 1408 | * pointer again. |
| 1409 | */ | 1409 | */ |
