]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ext4: remove conflicting comment from __ext4_forget
authorGuoqing Jiang <jiangguoqing@kylinos.cn>
Wed, 14 Jul 2021 05:59:40 +0000 (13:59 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 23 Jul 2021 11:33:10 +0000 (07:33 -0400)
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>
fs/ext4/ext4_jbd2.c

index b96ecba918990bdbd33c9ab676c5f10aadb5803b..b60f0152ea5767f0b612ce2ffe63955e1b87ef39 100644 (file)
@@ -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,