We need to grab and mark the file open before jumping to an error path
authorJens Axboe <jens.axboe@oracle.com>
Wed, 4 Jun 2008 13:13:02 +0000 (15:13 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 4 Jun 2008 13:13:02 +0000 (15:13 +0200)
commitd5707a3565e958af566247e2c0acf09e031d8921
tree699c562aa0d9aee011ad5920e0c8060e599c24b3
parent18bc5025fdce7f1f319b4aebe1c9d7f479088e73
We need to grab and mark the file open before jumping to an error path

The error path will close the file.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
ioengines.c