]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix subvolume group corruption from smb share form 68066/head
authorNizamudeen A <nia@redhat.com>
Sat, 28 Mar 2026 08:20:44 +0000 (13:50 +0530)
committerNizamudeen A <nia@redhat.com>
Sat, 28 Mar 2026 08:20:44 +0000 (13:50 +0530)
commitd932c880249fbd11bf885c9787d78e86e4274a38
tree8c5a18e5990747ebbe3d8c2b63f055167ef541c3
parente0d1ea9cb83c5935fe82c37acd57f23c00eec186
mgr/dashboard: fix subvolume group corruption from smb share form

the SMB share form accidentally corrupts the subvolume group when it
issues a call to the subvolume_info API with an empty subvol_name which
then corrupts the group entirely and the following subvolume creation
gets failed.

The fix is to not call subvol_info with an empty name.

Fixes: https://tracker.ceph.com/issues/75771
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-share-form/smb-share-form.component.ts