summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShijie Luo <luoshijie1@huawei.com>2020-01-23 09:43:25 +0300
committerTheodore Ts'o <tytso@mit.edu>2020-01-25 10:24:53 +0300
commit8d6ce136790268fba2fc66cb8d6fa2161d4b2385 (patch)
tree160ff2b05e6c5ba19f51b0ca680142ed8a52fc1b
parent0c1cba6cca862c56bf8cb726314e5196505017f6 (diff)
downloadlinux-8d6ce136790268fba2fc66cb8d6fa2161d4b2385.tar.xz
ext4,jbd2: fix comment and code style
Fix comment and remove unneccessary blank. Signed-off-by: Shijie Luo <luoshijie1@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20200123064325.36358-1-luoshijie1@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--fs/ext4/inline.c2
-rw-r--r--fs/jbd2/transaction.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c
index e61603f47035..fad82d08fca5 100644
--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -850,7 +850,7 @@ out:
/*
* 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.
* Otherwise read the page, makes it dirty so that it can be
* handle in writepages(the i_disksize update is left to the
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 5c3abbaccb57..e77a5a0b4e46 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -1595,7 +1595,7 @@ out:
* Allow this call even if the handle has aborted --- it may be part of
* 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;
journal_t *journal;