diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-23 18:52:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-24 23:04:42 +0200 |
commit | 4f5dd3943bef8a04be7e3b838b822bb9a7ad6cb3 (patch) | |
tree | deda3509752ff079dded29c145e4a8fae41812f1 /src/core/umount.c | |
parent | dea7b6b043f0cd9e34ee719b9b612c3a4776387e (diff) |
util: split out escaping code into escape.[ch]
This really deserves its own file, given how much code this is now.
Diffstat (limited to 'src/core/umount.c')
-rw-r--r-- | src/core/umount.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/umount.c b/src/core/umount.c index 22dbe67259..38d004ece3 100644 --- a/src/core/umount.c +++ b/src/core/umount.c @@ -21,20 +21,21 @@ #include <errno.h> #include <fcntl.h> +#include <linux/dm-ioctl.h> +#include <linux/loop.h> #include <string.h> #include <sys/mount.h> #include <sys/swap.h> -#include <linux/loop.h> -#include <linux/dm-ioctl.h> +#include "escape.h" +#include "libudev.h" #include "list.h" #include "mount-setup.h" -#include "umount.h" #include "path-util.h" +#include "udev-util.h" #include "util.h" #include "virt.h" -#include "libudev.h" -#include "udev-util.h" +#include "umount.h" typedef struct MountPoint { char *path; |