Commit 8d6ce136 authored by Shijie Luo's avatar Shijie Luo Committed by Theodore Ts'o

ext4,jbd2: fix comment and code style

Fix comment and remove unneccessary blank.
Signed-off-by: default avatarShijie Luo <luoshijie1@huawei.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200123064325.36358-1-luoshijie1@huawei.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 0c1cba6c
...@@ -850,7 +850,7 @@ static int ext4_da_convert_inline_data_to_extent(struct address_space *mapping, ...@@ -850,7 +850,7 @@ static int ext4_da_convert_inline_data_to_extent(struct address_space *mapping,
/* /*
* Prepare the write for the inline data. * Prepare the write for the inline data.
* If the the data can be written into the inode, we just read * If the data can be written into the inode, we just read
* the page and make it uptodate, and start the journal. * the page and make it uptodate, and start the journal.
* Otherwise read the page, makes it dirty so that it can be * Otherwise read the page, makes it dirty so that it can be
* handle in writepages(the i_disksize update is left to the * handle in writepages(the i_disksize update is left to the
......
...@@ -1595,7 +1595,7 @@ int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh) ...@@ -1595,7 +1595,7 @@ int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh)
* Allow this call even if the handle has aborted --- it may be part of * Allow this call even if the handle has aborted --- it may be part of
* the caller's cleanup after an abort. * the caller's cleanup after an abort.
*/ */
int jbd2_journal_forget (handle_t *handle, struct buffer_head *bh) int jbd2_journal_forget(handle_t *handle, struct buffer_head *bh)
{ {
transaction_t *transaction = handle->h_transaction; transaction_t *transaction = handle->h_transaction;
journal_t *journal; journal_t *journal;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment