Fix potential oops in file unlocking at free time

Signed-off-by: Jens Axboe <axboe@kernel.dk>