The whole FIEMAP_KERNEL_FIBMAP thing looks very counter productive. bmap() should be able to make the right decision based on the passed in flags, no need to have a fake FIEMAP flag for that.
The whole FIEMAP_KERNEL_FIBMAP thing looks very counter productive. bmap() should be able to make the right decision based on the passed in flags, no need to have a fake FIEMAP flag for that.