diff options
author | Javier González <javier@cnexlabs.com> | 2018-01-05 14:16:18 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-05 08:50:12 -0700 |
commit | c6847e4e359f01745bad5aea0fa20a0c5edfdc51 (patch) | |
tree | 7618567667cc581073520a6f0d008b94bc773058 /drivers/lightnvm/pblk-cache.c | |
parent | cc4f5ba1fb6ebe977fb44293abebb79af77556f0 (diff) | |
download | linux-c6847e4e359f01745bad5aea0fa20a0c5edfdc51.tar.gz linux-c6847e4e359f01745bad5aea0fa20a0c5edfdc51.tar.xz |
lightnvm: pblk: free write buffer on init failure
Refactor the way we free the write buffer to ensure that all entries get
freed in case of an error on the init sequence.
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-cache.c')
0 files changed, 0 insertions, 0 deletions