commit | 6110d70bdf99f9d0448f1f61798542e3b123b42a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Jun 25 16:50:04 2013 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 28 16:04:36 2013 +0200 |
tree | 46701e054133568085ba4d8b2518dbac4a0b9247 | |
parent | 26ea8f9239a062a47cfef38ea9c63409906366ff [diff] |
drbd: fix error return code in drbd_init() Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Andreas Gruenbacher <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>