Messages in this thread | | | From | Nikola Pajkovsky <> | Subject | Re: [PATCH 1/5] BLOCK: rbd, return proper error from rbd_dev_probe_update_spec | Date | Fri, 05 Apr 2013 00:53:40 +0200 |
| |
Jiri Slaby <jslaby@suse.cz> 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 <jslaby@suse.cz> > --- > drivers/block/rbd.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Acked-by: Nikola Pajkovsky <npajkovs@redhat.com>
-- Nikola
| |