summaryrefslogtreecommitdiff
path: root/fs/ceph/snap.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2021-05-03 18:09:01 +0300
committerIlya Dryomov <idryomov@gmail.com>2021-05-04 17:06:15 +0300
commit3f1c6f2122fc780560f09735b6d1dbf39b44eb0f (patch)
treed3795e0cb962e791d5c312f432c1c0393cb467c0 /fs/ceph/snap.c
parent61ca49a9105faefa003b37542cebad8722f8ae22 (diff)
downloadlinux-3f1c6f2122fc780560f09735b6d1dbf39b44eb0f.tar.xz
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/snap.c')
0 files changed, 0 insertions, 0 deletions