Fiemap: introduce a separate helper for invoking FIEMAP
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Sat, 24 Nov 2012 16:29:14 +0000 (18:29 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 26 Nov 2012 07:37:24 +0000 (09:37 +0200)
commit54a133daab03922ac51dab042f077d4a9f1d9abd
treefec8d67340bbd4c524eff263445aa22461fa6aa4
parent94ea7babe948f4f11151daed2a788b1035596d8c
Fiemap: introduce a separate helper for invoking FIEMAP

Introduce a '_invoke_fiemap' helper function which hides all the cruft related
to the FIEMAP ioctl invocation.

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