diff options
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 856c2e8ea6ac..a3ec2c8610cc 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
| @@ -4497,6 +4497,8 @@ int extent_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, | |||
| 4497 | } | 4497 | } |
| 4498 | if (test_bit(EXTENT_FLAG_COMPRESSED, &em->flags)) | 4498 | if (test_bit(EXTENT_FLAG_COMPRESSED, &em->flags)) |
| 4499 | flags |= FIEMAP_EXTENT_ENCODED; | 4499 | flags |= FIEMAP_EXTENT_ENCODED; |
| 4500 | if (test_bit(EXTENT_FLAG_PREALLOC, &em->flags)) | ||
| 4501 | flags |= FIEMAP_EXTENT_UNWRITTEN; | ||
| 4500 | 4502 | ||
| 4501 | free_extent_map(em); | 4503 | free_extent_map(em); |
| 4502 | em = NULL; | 4504 | em = NULL; |
