]> code.ossystems Code Review - openembedded-core.git/commit
Revert "filemap: remove FilemapSeek class"
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 3 Apr 2017 15:31:00 +0000 (18:31 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 11:36:45 +0000 (12:36 +0100)
commite75bd6a7dd5c1b4bad039c35cf4a2ffc2f77c60a
treecb441f247376d9c47a026f97e15b78143adf8e57
parent46e76ffd460933ab35da4cfd3509f7c5de5ecd93
Revert "filemap: remove FilemapSeek class"

FIEMAP API is not supported by tmpfs file system, but
SEEK_HOLE/SEEK_DATA is supported.

Returned back FilemapSeek class that implements support
of SEEK_HOLE/SEEK_DATA API to make sparse_copy API working
on tmpfs again.

This reverts commit 6b80c13f7a82a312a3b981de5a56c66466ba1fac.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/filemap.py