[pve-devel] applied: [PATCH storage] cifs: use empty string instead of / as default directory

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 21 12:39:41 CET 2023


Am 21/03/2023 um 12:12 schrieb Stoiko Ivanov:
> this keeps the mount sources consistent with previous versions
> without this patch there is a small regression, which leads to the
> storage not being recognized as being mounted on upgrade:
> * pvestatd in older version mount the storage with out trailing /
> ```
> //cifsstore/ISO on /mnt/pve/cifsstore type cifs...
> ```
> * the cifs_is_mounted helper does not recognize it as being mounted
> (as the source now has a / in the end)
> * attempting to mount leads to
> ```
> mount error(16): Device or resource busy
> ```
> 
> noticed after upgrading and having a cifs storage mounted
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  PVE/Storage/CIFSPlugin.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list