On Wed, Sep 7, 2011 at 5:28 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote: > Fix leak of s->snap in failure path. Simplify error paths for the whole > function. > > Reported-by: Stefan Hajnoczi <stefanha@xxxxxxxxx> > Signed-off-by: Sage Weil <sage@xxxxxxxxxxxx> > --- > block/rbd.c | 28 +++++++++++++--------------- > 1 files changed, 13 insertions(+), 15 deletions(-) Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html