diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2016-01-27 12:53:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-01-29 08:04:27 +0100 |
commit | e5bd17b896546a04f7a56bab8f18460b03e85219 (patch) | |
tree | 11b16c5621b6844a70142678a7b65197e65c3f28 | |
parent | 3b4740b2c1ab3b79050d8d8fb6454a78fed8ea5e (diff) | |
download | barebox-e5bd17b896546a04f7a56bab8f18460b03e85219.tar.gz barebox-e5bd17b896546a04f7a56bab8f18460b03e85219.tar.xz |
fs: ubifs: remove redundant macro defines
Remove macros, that were already defined in linux/stat.h.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | fs/ubifs/ubifs.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index d16f780fd9..b603c5dd69 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -36,6 +36,7 @@ #include <lzo.h> #include <linux/fs.h> #include <linux/pagemap.h> +#include <linux/stat.h> #include <linux/ctype.h> #include <linux/math64.h> #include <linux/rbtree.h> @@ -227,20 +228,6 @@ struct file { #define S_SWAPFILE 256 /* Do not truncate: swapon got its bmaps */ #define S_PRIVATE 512 /* Inode is fs-internal */ -/* include/linux/stat.h */ - -#define S_IFMT 00170000 -#define S_IFSOCK 0140000 -#define S_IFLNK 0120000 -#define S_IFREG 0100000 -#define S_IFBLK 0060000 -#define S_IFDIR 0040000 -#define S_IFCHR 0020000 -#define S_IFIFO 0010000 -#define S_ISUID 0004000 -#define S_ISGID 0002000 -#define S_ISVTX 0001000 - /* include/linux/fs.h */ /* |