null_blk: Fix error path in module initialization
authorMinfei Huang <mhuang@redhat.com>
Tue, 8 Dec 2015 20:47:34 +0000 (13:47 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 8 Dec 2015 20:47:34 +0000 (13:47 -0700)
commitaf096e2235c5de76af7e8749f59a90de07f5e943
treef6dedb3ca00e17ddc2aa51c0664a6c0fc626fb24
parent4158624454db3756c1f1b3641f1ab4215e697936
null_blk: Fix error path in module initialization

Module couldn't release resource properly during the initialization. To
fix this issue, we will clean up the proper resource before returning.

Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c
This page took 0.024228 seconds and 5 git commands to generate.