commit | 8d964478b2d124fcfde8017d02d4d70ae20802f2 | [log] [tgz] |
---|---|---|
author | Clément Calmels <clement.calmels@free.fr> | Tue Jun 03 23:34:25 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Thu Jul 17 22:07:32 2014 +0200 |
tree | 3bdf7252f41c91a6f8e2b84d9c6494451087d2a2 | |
parent | cb2fb68d064c16a559483651132815cc378fd1f9 [diff] |
sd: bad return code of init_sd In init_sd function, if kmem_cache_create or mempool_create_slab_pools calls fail, the error will not be correclty reported because class_register previously set the value of err to 0. Signed-off-by: Clément Calmels <clement.calmels@free.fr> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>