Allow trim on any file type
authorDan Ehrenberg <dehrenberg@chromium.org>
Tue, 14 Apr 2015 22:58:14 +0000 (15:58 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 00:16:17 +0000 (18:16 -0600)
commit7854ada85dafe2ff6684fbb93e973f91283d99fc
tree2c1290ec14e7212469ce9703209b83a3ef6b912e
parent89c176baca1170db809d4f46416e262851d00874
Allow trim on any file type

The mtd fio engine will support trim (interpreted as erase). There is
no particular reason to tie trims to block devices, as it is only a
particular ioengine which calls the trim ioctl, not generic code.
This patch simply removes the test which checks that trim is only
run on block devices.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
filesetup.c