Message ID | 1463566368-12396-4-git-send-email-lede@daniel.thecshore.com |
---|---|
State | Superseded |
Delegated to: | John Crispin |
Headers | show |
diff --git a/block.c b/block.c index ef58665..d30b1f6 100644 --- a/block.c +++ b/block.c @@ -29,6 +29,8 @@ #include <sys/mount.h> #include <sys/wait.h> +#include <linux/fs.h> + #include <uci.h> #include <uci_blob.h> @@ -147,18 +149,6 @@ struct mount_flag { int32_t flag; }; -#ifndef MS_DIRSYNC -# define MS_DIRSYNC (1 << 7) -#endif - -#ifndef MS_RELATIME -# define MS_RELATIME (1 << 21) -#endif - -#ifndef MS_STRICTATIME -# define MS_STRICTATIME (1 << 24) -#endif - static const struct mount_flag mount_flags[] = { { "sync", MS_SYNCHRONOUS }, { "async", ~MS_SYNCHRONOUS },