diff options
author | Ilya Dryomov | 2021-05-03 17:09:01 +0200 |
---|---|---|
committer | Ilya Dryomov | 2021-05-04 16:06:15 +0200 |
commit | 3f1c6f2122fc780560f09735b6d1dbf39b44eb0f (patch) | |
tree | d3795e0cb962e791d5c312f432c1c0393cb467c0 /fs/ceph/caps.c | |
parent | 61ca49a9105faefa003b37542cebad8722f8ae22 (diff) |
libceph: allow addrvecs with a single NONE/blank address
Normally, an unused OSD id/slot is represented by an empty addrvec.
However, it also appears to be possible to generate an osdmap where
an unused OSD id/slot has an addrvec with a single blank address of
type NONE. Allow such addrvecs and make the end result be exactly
the same as for the empty addrvec case -- leave addr intact.
Cc: stable@vger.kernel.org # 5.11+
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions