aboutsummaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2015-11-04 10:59:52 -0800
committerMiklos Szeredi <miklos@szeredi.hu>2015-11-10 17:13:35 +0100
commit257f871993474e2bde6c497b54022c362cf398e1 (patch)
tree126e6984885e783407a54fa2b4c809a3aa581bfe /fs/overlayfs
parentovl: use a minimal buffer in ovl_copy_xattr (diff)
downloadlinux-dev-257f871993474e2bde6c497b54022c362cf398e1.tar.xz
linux-dev-257f871993474e2bde6c497b54022c362cf398e1.zip
ovl: move super block magic number to magic.h
The overlayfs file system is not recognized by programs like tail because the magic number is not in standard header location. Move it so that the value will propagate on for the GNU library and utilities. Needs to go in the fstatfs manual page as well. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Diffstat (limited to 'fs/overlayfs')
-rw-r--r--fs/overlayfs/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 97cacb525974..32f31243d36a 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -24,8 +24,6 @@ MODULE_AUTHOR("Miklos Szeredi <miklos@szeredi.hu>");
MODULE_DESCRIPTION("Overlay filesystem");
MODULE_LICENSE("GPL");
-#define OVERLAYFS_SUPER_MAGIC 0x794c7630
-
struct ovl_config {
char *lowerdir;
char *upperdir;