diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-19 22:05:23 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-19 22:05:23 +0100 |
commit | 4adf088107586be7b356d1e963570cdab232809e (patch) | |
tree | b097c25f3762447e26fb7c2873dc386538ee93bc | |
parent | ea26ea0d81a23aa76076ad5441c3b1aadfba3b44 (diff) | |
download | ceph-4adf088107586be7b356d1e963570cdab232809e.tar.gz |
ceph-disk: remove twice defined identical function unmount
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rwxr-xr-x | src/ceph-disk | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/ceph-disk b/src/ceph-disk index 66fedca7b33..dcd4386d480 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -517,7 +517,7 @@ def unmount( log.debug('Unmounting %s', path) subprocess.check_call( args=[ - 'umount', + '/bin/umount', '--', path, ], @@ -1210,20 +1210,6 @@ def detect_fstype( return fstype -def unmount( - path, - ): - try: - subprocess.check_call( - args=[ - '/bin/umount', - '--', - path, - ], - ) - except subprocess.CalledProcessError as e: - raise UnmountError(e) - def mount_activate( dev, activate_key_template, |