diff options
author | Omar Sandoval <osandov@fb.com> | 2018-05-11 13:13:33 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:23:48 +0200 |
commit | 7b40b695b4d06666c4665f6b5718085f2c6a5da2 (patch) | |
tree | 4aa1eb886bd50063fb4b1569b429fa4d13258697 /fs/btrfs/btrfs_inode.h | |
parent | f7e9e8fc792fe2f823ff7d64d23f4363b3f2203a (diff) | |
download | linux-stable-7b40b695b4d06666c4665f6b5718085f2c6a5da2.tar.gz linux-stable-7b40b695b4d06666c4665f6b5718085f2c6a5da2.tar.bz2 linux-stable-7b40b695b4d06666c4665f6b5718085f2c6a5da2.zip |
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>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 234bae55b85d..cb7dc0aa4253 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h @@ -23,7 +23,6 @@ #define BTRFS_INODE_ORPHAN_META_RESERVED 1 #define BTRFS_INODE_DUMMY 2 #define BTRFS_INODE_IN_DEFRAG 3 -#define BTRFS_INODE_HAS_ORPHAN_ITEM 4 #define BTRFS_INODE_HAS_ASYNC_EXTENT 5 #define BTRFS_INODE_NEEDS_FULL_SYNC 6 #define BTRFS_INODE_COPY_EVERYTHING 7 |