diff options
Diffstat (limited to 'net/ceph')
-rw-r--r-- | net/ceph/osdmap.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c index b844a9273666..07fa3697ea12 100644 --- a/net/ceph/osdmap.c +++ b/net/ceph/osdmap.c | |||
@@ -952,11 +952,10 @@ struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end, | |||
952 | if (err < 0) | 952 | if (err < 0) |
953 | goto bad; | 953 | goto bad; |
954 | } | 954 | } |
955 | if (version >= 5) { | 955 | |
956 | err = __decode_pool_names(p, end, map); | 956 | err = __decode_pool_names(p, end, map); |
957 | if (err) | 957 | if (err) |
958 | goto bad; | 958 | goto bad; |
959 | } | ||
960 | 959 | ||
961 | /* old_pool */ | 960 | /* old_pool */ |
962 | ceph_decode_32_safe(p, end, len, e_inval); | 961 | ceph_decode_32_safe(p, end, len, e_inval); |