Btrfs: delete dead code in btrfs_orphan_add()
authorOmar Sandoval <[email protected]>
Thu, 25 Jan 2018 23:56:17 +0000 (15:56 -0800)
committerDavid Sterba <[email protected]>
Fri, 30 Mar 2018 23:41:12 +0000 (01:41 +0200)
commit0a0d4415e3389b6a2e89896808dea27d2402d154
tree3402bfe136387d0b21e0f14fad4d31c3071a9895
parent4408ea7c5fd92cbdff3b5890601b9be6610bbb33
Btrfs: delete dead code in btrfs_orphan_add()

btrfs_orphan_add() has had this case commented out since it was first
introduced in commit d68fc57b7e32 ("Btrfs: Metadata reservation for
orphan inodes"). Most of the orphan cleanup code has been rewritten
since then, so it's safe to say that this code isn't needed.

Signed-off-by: Omar Sandoval <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
[ switch to bool ]
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/inode.c