diff options
-rw-r--r-- | fs/sysfs/sysfs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index a6542d27bd9b..c86456c9b19e 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h | |||
@@ -80,18 +80,18 @@ struct sysfs_dirent { | |||
80 | 80 | ||
81 | #define SD_DEACTIVATED_BIAS INT_MIN | 81 | #define SD_DEACTIVATED_BIAS INT_MIN |
82 | 82 | ||
83 | #define SYSFS_TYPE_MASK 0x00ff | 83 | #define SYSFS_TYPE_MASK 0x000f |
84 | #define SYSFS_DIR 0x0001 | 84 | #define SYSFS_DIR 0x0001 |
85 | #define SYSFS_KOBJ_ATTR 0x0002 | 85 | #define SYSFS_KOBJ_ATTR 0x0002 |
86 | #define SYSFS_KOBJ_LINK 0x0008 | 86 | #define SYSFS_KOBJ_LINK 0x0004 |
87 | #define SYSFS_COPY_NAME (SYSFS_DIR | SYSFS_KOBJ_LINK) | 87 | #define SYSFS_COPY_NAME (SYSFS_DIR | SYSFS_KOBJ_LINK) |
88 | #define SYSFS_ACTIVE_REF SYSFS_KOBJ_ATTR | 88 | #define SYSFS_ACTIVE_REF SYSFS_KOBJ_ATTR |
89 | 89 | ||
90 | #define SYSFS_FLAG_MASK ~SYSFS_TYPE_MASK | 90 | #define SYSFS_FLAG_MASK ~SYSFS_TYPE_MASK |
91 | #define SYSFS_FLAG_NS 0x01000 | 91 | #define SYSFS_FLAG_REMOVED 0x0010 |
92 | #define SYSFS_FLAG_REMOVED 0x02000 | 92 | #define SYSFS_FLAG_NS 0x0020 |
93 | #define SYSFS_FLAG_HAS_SEQ_SHOW 0x04000 | 93 | #define SYSFS_FLAG_HAS_SEQ_SHOW 0x0040 |
94 | #define SYSFS_FLAG_HAS_MMAP 0x08000 | 94 | #define SYSFS_FLAG_HAS_MMAP 0x0080 |
95 | 95 | ||
96 | static inline unsigned int sysfs_type(struct sysfs_dirent *sd) | 96 | static inline unsigned int sysfs_type(struct sysfs_dirent *sd) |
97 | { | 97 | { |