]> git.hungrycats.org Git - linux/commit
ceph: extract entity name from device id
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 13 Oct 2024 00:54:11 +0000 (20:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2024 09:33:06 +0000 (10:33 +0100)
commit308e0cc36dc409718db0bf55e57c9867367183c4
tree8f898768bc12debf69fb0a5769d26db06c443eab
parent33a213c04faff6c3a7fe77e947db81bc7270fe32
ceph: extract entity name from device id

commit 955710afcb3bb63e21e186451ed5eba85fa14d0b upstream.

Previously, the "name" in the new device syntax "<name>@<fsid>.<fsname>"
was ignored because (presumably) tests were done using mount.ceph which
also passed the entity name using "-o name=foo". If mounting is done
without the mount.ceph helper, the new device id syntax fails to set
the name properly.

Cc: stable@vger.kernel.org
Link: https://tracker.ceph.com/issues/68516
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/super.c