diff options
| author | Nikolay Borisov <[email protected]> | 2017-11-23 08:51:43 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-01-22 15:08:14 +0000 |
| commit | 4a2d25cd93cbd2e5ad6c9aabd90da362b2dd9984 (patch) | |
| tree | 85c1426042016b6a94d7e8d6bc27b04554588ebd /fs/btrfs/dev-replace.c | |
| parent | btrfs: extent-tree: Make btrfs_inode_rsv_refill function static (diff) | |
| download | kernel-4a2d25cd93cbd2e5ad6c9aabd90da362b2dd9984.tar.gz kernel-4a2d25cd93cbd2e5ad6c9aabd90da362b2dd9984.zip | |
btrfs: Remove redundant FLAG_VACANCY
Commit 9036c10208e1 ("Btrfs: update hole handling v2") added the
FLAG_VACANCY to denote holes, however there was already a consistent way
of flagging extents which represent hole - ->block_start =
EXTENT_MAP_HOLE. And also the only place where this flag is checked is
in the fiemap code, but the block_start value is also checked and every
other place in the filesystem detects holes by using block_start
value's. So remove the extra flag. This survived a full xfstest run.
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
