Filemap: distinguish the "not supported" error
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 20 Jan 2014 13:47:41 +0000 (15:47 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 21 Jan 2014 17:15:25 +0000 (19:15 +0200)
commit403581a39c017aa936de103c821c18879619b4d0
treeedf085800ca9876d060a6b32b606ede4b6be4c13
parentdee1cc9bb82cac4419ad01d31c14e31a8f03d3fd
Filemap: distinguish the "not supported" error

Introduce a new exception type (ErrorNotSupp) in order to distinguish the
situation when FIEMAP or SEEK_HOLE is not supported by the system.

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