]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: update stale comment for log_new_dir_dentries()
authorFilipe Manana <fdmanana@suse.com>
Wed, 17 Aug 2022 11:22:36 +0000 (12:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:56 +0000 (12:27 +0200)
commit4be6da3f842d8d1c52509a62dc1bd4d23432efda
treef6916b677ecd0fb327a4235ec4f7ba8f7cd80f1f
parent47204faab05f3f57fa9cc8a4885f47d1c4c200eb
btrfs: update stale comment for log_new_dir_dentries()

The comment refers to the function log_dir_items() in order to check why
the inodes of new directory entries need to be logged, but the relevant
comments are no longer at log_dir_items(), they were moved to the function
process_dir_items_leaf() in commit 4e5f40a8861e12 ("btrfs: factor out the
copying loop of dir items from log_dir_items()"). So update it with the
current function name.

Also remove references with i_mutex to "VFS lock", since the inode lock
is no longer a mutex since 2016 (it's now a rw semaphore).

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