]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: update outdated comment at btrfs_orphan_cleanup()
authorFilipe Manana <fdmanana@suse.com>
Tue, 16 Mar 2021 16:54:13 +0000 (16:54 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:17 +0000 (17:25 +0200)
commit02a64b16e2e02fd1ebf39b3981d6af36821f6aa4
tree0438337d77517322e92e5c4ce1a78ec17ef11bda
parent81d111990959a5d55382774ae75b8299c5fb5f71
btrfs: update outdated comment at btrfs_orphan_cleanup()

btrfs_orphan_cleanup() has a comment referring to find_dead_roots, but
function does not exists since commit 5a4947953a2df3 ("Btrfs: cleanup the
similar code of the fs root read"). What we use now to find and load dead
roots is btrfs_find_orphan_roots(). So update the comment and make it a
bit more detailed about why we can not delete an orphan item for a root.

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