Message ID | 20221108134633.557928-1-xiubli@redhat.com |
---|---|
State | New |
Headers | show |
Series | [v3] ceph: avoid putting the realm twice when decoding snaps fails | expand |
diff --git a/fs/ceph/snap.c b/fs/ceph/snap.c index 9bceed2ebda3..f5b0fa1ff705 100644 --- a/fs/ceph/snap.c +++ b/fs/ceph/snap.c @@ -775,6 +775,7 @@ int ceph_update_snap_trace(struct ceph_mds_client *mdsc, dout("%s deletion=%d\n", __func__, deletion); more: + realm = NULL; rebuild_snapcs = 0; ceph_decode_need(&p, e, sizeof(*ri), bad); ri = p;