file: track allocation origin
authorJens Axboe <axboe@kernel.dk>
Wed, 19 Aug 2020 18:04:38 +0000 (12:04 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Aug 2020 18:04:38 +0000 (12:04 -0600)
commit6081231af0fd6b15e88b5ba0189e10695e366ec0
tree64416f55d6ca7ea2c2143bbc25cdab819bf1b0a0
parentf98da47b751796f1fe5ebc81b50abf3c0154f240
file: track allocation origin

We can't always rely on the engine options for the file, as files
can come from various places. So mark the file as having come from
smalloc/calloc and use that when freeing it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
file.h
filesetup.c