btrfs: update comment at log_conflicting_inodes()
authorFilipe Manana <fdmanana@suse.com>
Thu, 29 Jul 2021 14:30:21 +0000 (15:30 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:11 +0000 (13:19 +0200)
commit1f295373022e84683bc5768caca46bdba3a376c1
tree78b7821113e1981ebec1603853845928d5c5fa48
parentd135a5339611352047462ef5943aee3a1202aa37
btrfs: update comment at log_conflicting_inodes()

A comment at log_conflicting_inodes() mentions that we check the inode's
logged_trans field instead of using btrfs_inode_in_log() because the field
last_log_commit is not updated when we log that an inode exists and the
inode has the full sync flag (BTRFS_INODE_NEEDS_FULL_SYNC) set. The part
about the full sync flag is not true anymore since commit 9acc8103ab594f
("btrfs: fix unpersisted i_size on fsync after expanding truncate"), so
update the comment to not mention that part anymore.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c