]> 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:41:05 +0000 (10:41 +0100)
commit2431ce949f7f2129925df5303eb5995a60650be1
tree655165ef63bf65b61294c754483fcc08bed2c080
parent15136c3861a3341db261ebdbb6ae4ae1765635e2
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