mtd: Import libmtd with modifications to make it compile
authorDan Ehrenberg <dehrenberg@chromium.org>
Tue, 14 Apr 2015 22:58:18 +0000 (15:58 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 00:16:23 +0000 (18:16 -0600)
commit94e9e396f20a7885d200e4fd44e018d41a07b21a
treed49c7ecffb890e4b3684146473fa1626005fb41a
parentb8116a874ba58e00919f4000e51865f2c91dd2f5
mtd: Import libmtd with modifications to make it compile

This patch imports files from mtdutils to access MTD devices. mtdutils
is licensed as GPLv2, like fio, so it can be included here. Files are
changed slightly in how they import headers so as to be compatible
with the fio directory structure.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
lib/libmtd.c [new file with mode: 0644]
lib/libmtd.h [new file with mode: 0644]
lib/libmtd_common.h [new file with mode: 0644]
lib/libmtd_int.h [new file with mode: 0644]
lib/libmtd_legacy.c [new file with mode: 0644]
lib/libmtd_xalloc.h [new file with mode: 0644]