filesetup: properly propagate error value from invalidate
authorJens Axboe <axboe@fb.com>
Thu, 3 Dec 2015 21:52:27 +0000 (14:52 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 3 Dec 2015 21:52:27 +0000 (14:52 -0700)
commit942a851a366a04c36233c9a64500ede32bac8031
tree1b5c68af6faeac108a6efc05bcb88ca456b3e99f
parenta655bbc42903e27775600dc4d359ed8ac9d0992d
filesetup: properly propagate error value from invalidate

The IO engine ops ->invalidate() will return the error value, and
so does posix_fadvise().

Signed-off-by: Jens Axboe <axboe@fb.com>
filesetup.c