summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4_jbd2.c
diff options
context:
space:
mode:
authorGuoqing Jiang <jiangguoqing@kylinos.cn>2021-07-14 13:59:40 +0800
committerTheodore Ts'o <tytso@mit.edu>2021-07-23 07:33:10 -0400
commit73dc707161a83c24a9e6804b2d60e6f4a4d6be74 (patch)
treed2713276478f04f6e4f655aa6d2e065c11501d54 /fs/ext4/ext4_jbd2.c
parentb66541422824cf6cf20e9a35112e9cb5d82cdf62 (diff)
downloadlinux-73dc707161a83c24a9e6804b2d60e6f4a4d6be74.tar.bz2
ext4: remove conflicting comment from __ext4_forget
We do a bforget and return for no journal case, so let's remove this conflict comment. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Guoqing Jiang <jiangguoqing@kylinos.cn> Link: https://lore.kernel.org/r/20210714055940.1553705-1-guoqing.jiang@linux.dev Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.c')
-rw-r--r--fs/ext4/ext4_jbd2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext4/ext4_jbd2.c b/fs/ext4/ext4_jbd2.c
index b96ecba91899..b60f0152ea57 100644
--- a/fs/ext4/ext4_jbd2.c
+++ b/fs/ext4/ext4_jbd2.c
@@ -244,9 +244,6 @@ int __ext4_journal_get_write_access(const char *where, unsigned int line,
* "bh" may be NULL: a metadata block may have been freed from memory
* but there may still be a record of it in the journal, and that record
* still needs to be revoked.
- *
- * If the handle isn't valid we're not journaling, but we still need to
- * call into ext4_journal_revoke() to put the buffer head.
*/
int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
int is_metadata, struct inode *inode,