]> 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)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 18 Nov 2024 16:34:35 +0000 (17:34 +0100)
commit955710afcb3bb63e21e186451ed5eba85fa14d0b
tree7dcb7aab2b3559e725582eaafb02fc36061ca939
parent6779c9d59a0709de5c679a268c4f3d034f22c956
ceph: extract entity name from device id

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>
fs/ceph/super.c