Change in vdsm[master]: mount: Don't un-escape mount options

nsoffer at redhat.com nsoffer at redhat.com
Sun Apr 24 23:43:08 UTC 2016


Nir Soffer has uploaded a new change for review.

Change subject: mount: Don't un-escape mount options
......................................................................

mount: Don't un-escape mount options

We used to un-escape mount options, which may be useful when mount
options could contain loop=/dev/loopN, if the path to the device
contains spaces. Since we don't use /etc/mtab now, this issue is not
relevant and un-escaping is not useful for anything.

Change-Id: Ib7f666a565b9db9e4a713516f96a61aab535c596
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M lib/vdsm/storage/mount.py
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/46/56546/1

diff --git a/lib/vdsm/storage/mount.py b/lib/vdsm/storage/mount.py
index 412d1fc..67b0b85 100644
--- a/lib/vdsm/storage/mount.py
+++ b/lib/vdsm/storage/mount.py
@@ -66,8 +66,6 @@
         fs_file = fs_file[:-len(suffix)]
         break
 
-    fs_mntops = [_parseFstabPath(item) for item in fs_mntops]
-
     return MountRecord(fs_spec, fs_file, fs_vfstype, fs_mntops,
                        fs_freq, fs_passno)
 


-- 
To view, visit https://gerrit.ovirt.org/56546
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7f666a565b9db9e4a713516f96a61aab535c596
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list