Btrfs: get rid of BTRFS_INODE_HAS_ORPHAN_ITEM
authorOmar Sandoval <osandov@fb.com>
Fri, 11 May 2018 20:13:33 +0000 (13:13 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:48 +0000 (18:23 +0200)
commit7b40b695b4d06666c4665f6b5718085f2c6a5da2
tree4aa1eb886bd50063fb4b1569b429fa4d13258697
parentf7e9e8fc792fe2f823ff7d64d23f4363b3f2203a
Btrfs: get rid of BTRFS_INODE_HAS_ORPHAN_ITEM

Now that we don't add orphan items for truncate, there can't be races on
adding or deleting an orphan item, so this bit is unnecessary.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/inode.c