Skip to content

Commit 73dc707

Browse files
Guoqing Jiangtytso
authored andcommitted
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>
1 parent b665414 commit 73dc707

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

fs/ext4/ext4_jbd2.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,6 @@ int __ext4_journal_get_write_access(const char *where, unsigned int line,
244244
* "bh" may be NULL: a metadata block may have been freed from memory
245245
* but there may still be a record of it in the journal, and that record
246246
* still needs to be revoked.
247-
*
248-
* If the handle isn't valid we're not journaling, but we still need to
249-
* call into ext4_journal_revoke() to put the buffer head.
250247
*/
251248
int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
252249
int is_metadata, struct inode *inode,

0 commit comments

Comments
 (0)