Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288819
b: refs/heads/master
c: 15a3382
h: refs/heads/master
i:
  288817: 9f539ee
  288815: 781b25b
v: v3
  • Loading branch information
Eric W. Biederman authored and Greg Kroah-Hartman committed Jan 24, 2012
1 parent 934dfbb commit 9efb28b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e4d6d860b9393c5395ba5920edb5b4c5d43a3a3
refs/heads/master: 15a3382451e51925facfe430deeca63d90137f5d
6 changes: 3 additions & 3 deletions trunk/fs/sysfs/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct sysfs_dirent {
struct sysfs_elem_bin_attr s_bin_attr;
};

unsigned int s_flags;
unsigned short s_flags;
umode_t s_mode;
ino_t s_ino;
struct sysfs_inode_attrs *s_iattr;
Expand All @@ -94,11 +94,11 @@ struct sysfs_dirent {
#define SYSFS_ACTIVE_REF (SYSFS_KOBJ_ATTR | SYSFS_KOBJ_BIN_ATTR)

/* identify any namespace tag on sysfs_dirents */
#define SYSFS_NS_TYPE_MASK 0xff00
#define SYSFS_NS_TYPE_MASK 0xf00
#define SYSFS_NS_TYPE_SHIFT 8

#define SYSFS_FLAG_MASK ~(SYSFS_NS_TYPE_MASK|SYSFS_TYPE_MASK)
#define SYSFS_FLAG_REMOVED 0x020000
#define SYSFS_FLAG_REMOVED 0x02000

static inline unsigned int sysfs_type(struct sysfs_dirent *sd)
{
Expand Down

0 comments on commit 9efb28b

Please sign in to comment.