diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2017-03-10 11:26:06 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-03-10 11:26:06 +1100 |
commit | 7b7430c568a144087a5e744cb8003f5938f305cd (patch) | |
tree | 575474668aa44fd773f7788d4c97b93b55c8b832 /fs | |
parent | b17b6f60d64bce9cccf6dc20214d6e658fc949d1 (diff) |
jbd2-mark-the-transaction-context-with-the-scope-gfp_nofs-context-fix
tweak comments
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/jbd2/transaction.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index d8f09f34285f..9ee4832b6f8b 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -390,8 +390,8 @@ repeat: rwsem_acquire_read(&journal->j_trans_commit_map, 0, 0, _THIS_IP_); jbd2_journal_free_transaction(new_transaction); /* - * Make sure that no allocations done while the transaction is - * open is going to recurse back to the fs layer. + * Ensure that no allocations done while the transaction is open are + * going to recurse back to the fs layer. */ handle->saved_alloc_context = memalloc_nofs_save(); return 0; @@ -1768,8 +1768,8 @@ int jbd2_journal_stop(handle_t *handle) jbd2_journal_free_reserved(handle->h_rsv_handle); free_and_exit: /* - * scope of th GFP_NOFS context is over here and so we can - * restore the original alloc context. + * Scope of the GFP_NOFS context is over here and so we can restore the + * original alloc context. */ memalloc_nofs_restore(handle->saved_alloc_context); jbd2_free_handle(handle); |