X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmds%2Fmds_capa.c;h=6f8d09109799baa87b089c0350c1d9255d6a117d;hb=0efd98b4450c20ea6f5e8fdf46a0062fa38045e5;hp=f72fcff9759607f567360c80a9a102c226757ec8;hpb=61bdfc2a5cdee48698fc533b085ef0b262b47db9;p=fs%2Flustre-release.git diff --git a/lustre/mds/mds_capa.c b/lustre/mds/mds_capa.c index f72fcff..6f8d091 100644 --- a/lustre/mds/mds_capa.c +++ b/lustre/mds/mds_capa.c @@ -560,6 +560,7 @@ int mds_pack_capa(struct obd_device *obd, struct mds_export_data *med, ocapa = capa_renew(capa, MDS_CAPA); if (!ocapa) rc = -ENOMEM; + capa_put(ocapa); out: if (rc == 0) body->valid |= OBD_MD_CAPA;