]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
file_utils: remove unused function 2609/head
author2xsec <dh48.jeong@samsung.com>
Wed, 12 Sep 2018 08:31:40 +0000 (17:31 +0900)
committer2xsec <dh48.jeong@samsung.com>
Wed, 12 Sep 2018 08:31:40 +0000 (17:31 +0900)
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
src/lxc/file_utils.c

index 16897d627c9a6dc8815ce29e9ba3421393065b8a..9a7bd160e1cd556605f045160cea8098c361a830 100644 (file)
@@ -239,18 +239,6 @@ int lxc_make_tmpfile(char *template, bool rm)
        return fd;
 }
 
-/* In overlayfs, st_dev is unreliable. So on overlayfs we don't do the
- * lxc_rmdir_onedev()
- */
-static bool is_native_overlayfs(const char *path)
-{
-       if (has_fs_type(path, OVERLAY_SUPER_MAGIC) ||
-           has_fs_type(path, OVERLAYFS_SUPER_MAGIC))
-               return true;
-
-       return false;
-}
-
 bool is_fs_type(const struct statfs *fs, fs_type_magic magic_val)
 {
        return (fs->f_type == (fs_type_magic)magic_val);