fiemap: support FIEMAP_EXTENT_MERGED
F2FS starts to give a hint, FIEMAP_EXTENT_MERGED, in fiemap, so please allow it. Bug: 180137825 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: Ic4e3f573e385d248627da1a2ad64fbbd4a74e679
This commit is contained in:
parent
d0aa350c02
commit
0724e48f9f
|
@ -52,7 +52,7 @@ static constexpr uint32_t kMaxExtents = 50000;
|
|||
static constexpr const uint32_t kUnsupportedExtentFlags =
|
||||
FIEMAP_EXTENT_UNKNOWN | FIEMAP_EXTENT_UNWRITTEN | FIEMAP_EXTENT_DELALLOC |
|
||||
FIEMAP_EXTENT_NOT_ALIGNED | FIEMAP_EXTENT_DATA_INLINE | FIEMAP_EXTENT_DATA_TAIL |
|
||||
FIEMAP_EXTENT_UNWRITTEN | FIEMAP_EXTENT_SHARED | FIEMAP_EXTENT_MERGED;
|
||||
FIEMAP_EXTENT_UNWRITTEN | FIEMAP_EXTENT_SHARED;
|
||||
|
||||
// Large file support must be enabled.
|
||||
static_assert(sizeof(off_t) == sizeof(uint64_t));
|
||||
|
|
Loading…
Reference in New Issue