Jiri Slaby <[email protected]> writes: > ret might be uninitialized and is returned that way when kstrdup of > rbd_dev->spec->snap_name fails. Fix it by returning ENOMEM from that > place. > > Signed-off-by: Jiri Slaby <[email protected]> > --- > drivers/block/rbd.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Acked-by: Nikola Pajkovsky <[email protected]> -- Nikola -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

