aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorIlya Dryomov2021-05-03 17:09:01 +0200
committerIlya Dryomov2021-05-04 16:06:15 +0200
commit3f1c6f2122fc780560f09735b6d1dbf39b44eb0f (patch)
treed3795e0cb962e791d5c312f432c1c0393cb467c0 /fs/ceph/caps.c
parent61ca49a9105faefa003b37542cebad8722f8ae22 (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