Filemap: simplify the FIEMAP failure error path
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 16 Jan 2014 11:45:35 +0000 (13:45 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 16 Jan 2014 11:45:35 +0000 (13:45 +0200)
commit36ccbb95c5e12bc46c727e11dbab9352968564c6
treecec1636bbab2ca31b0a1567cf663cb03ff9f904d
parent58a96f0c08d156944fc6d70343b030c5a8c81a54
Filemap: simplify the FIEMAP failure error path

Simplify the FIEMAP ioctl error handling by removing the 'looks like your
kernel does not support FIEMAP' note. I've recently got a bug report from the
field where people hit this error, and that line not was not actually appended
to the error message because the error code was something like ENOTSUPP. And
the error was anyway very clear and readable.

So let's just remove that part and simplify the code.

Change-Id: Ib098c814d70980bdcb60402eafd213c08f8c9dbd
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/Filemap.py