]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: return FIEMAP_EXTENT_UNKNOWN for delayed allocation extent
authorJie Liu <jeff.liu@oracle.com>
Thu, 6 Jun 2013 13:24:01 +0000 (06:24 -0700)
committerBen Myers <bpm@sgi.com>
Wed, 19 Jun 2013 19:18:32 +0000 (14:18 -0500)
commit96cc5dafe749ebbd8ea0d53b21cbcaec62c5bc70
tree0bdf3ba8e7739bc8859f6e4b68711dc2cebe6d9c
parent27f115a6bc6df91cf60870fb89979ae0f606e876
xfs: return FIEMAP_EXTENT_UNKNOWN for delayed allocation extent

For FIEMAP ioctl(2), if an extent is in delayed allocation
state, we need to return the FIEMAP_EXTENT_UNKNOWN flag except
the FIEMAP_EXTENT_DELALLOC because its data location is unknown.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_iops.c