]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 6 Apr 2021 13:35:56 +0000 (15:35 +0200)
commita6d34ccff5d9bda3eb4c84742a38b1fc13872dce
tree0e951860c977a7fe38e12da519d1fa3eba40467d
parent4981e5a0dc9d019096939c0cd23db7795757d8b1
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 cb517eabba4f10 ("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