]> git.proxmox.com Git - pve-manager.git/commit
api osd/destroy: use ProcFSTools to iterate mounts
authorAlwin Antreich <a.antreich@proxmox.com>
Thu, 7 Feb 2019 15:29:42 +0000 (16:29 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 8 Feb 2019 14:26:00 +0000 (15:26 +0100)
commit3c6aa3f47e42e6c6c882fcfde34ab9fe1358a328
treed06c123f33e373e7cf52aeac7af197f8cab60e03
parente45cc727e6715623da005dc15e6fe379a1c8975f
api osd/destroy: use ProcFSTools to iterate mounts

Instead of opening proc/mounts through IO::File directly for parsing,
the patch uses ProcFSTools. This way it also takes care of eventual
decoding.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
PVE/API2/Ceph/OSD.pm