mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
criu-ns: Remove unused _umount
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
6fd59abc8f
commit
a80f08c2e7
@ -47,14 +47,6 @@ else:
|
||||
]
|
||||
_mount.restype = ctypes.c_int
|
||||
|
||||
try:
|
||||
_umount = _libc.umount
|
||||
except AttributeError:
|
||||
raise OSError(errno.EINVAL, "umount is not supported on this platform")
|
||||
else:
|
||||
_umount.argtypes = [ctypes.c_char]
|
||||
_umount.restype = ctypes.c_int
|
||||
|
||||
|
||||
def _mount_new_proc():
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user