[Ocfs2-commits] jlbec commits r2059 - trunk/fs/usysfs
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Mar 25 19:28:54 CST 2005
Author: jlbec
Signed-off-by: manish
Date: 2005-03-25 19:28:52 -0600 (Fri, 25 Mar 2005)
New Revision: 2059
Modified:
trunk/fs/usysfs/usysfs.h
trunk/fs/usysfs/usysfs_internal.h
Log:
o Move usysfs_dirent and its associated flags to usysfs_internal.h
Signed-off-by: manish
Modified: trunk/fs/usysfs/usysfs.h
===================================================================
--- trunk/fs/usysfs/usysfs.h 2005-03-26 01:27:01 UTC (rev 2058)
+++ trunk/fs/usysfs/usysfs.h 2005-03-26 01:28:52 UTC (rev 2059)
@@ -112,25 +112,6 @@
ssize_t (*store)(struct uobject *,struct usysfs_attribute *,const char *, size_t);
};
-struct usysfs_dirent {
- atomic_t s_count;
- struct list_head s_sibling;
- struct list_head s_children;
- struct list_head s_links;
- void * s_element;
- int s_type;
- umode_t s_mode;
- struct dentry * s_dentry;
-};
-
-#define USYSFS_ROOT 0x0001
-#define USYSFS_DIR 0x0002
-#define USYSFS_UOBJ_ATTR 0x0004
-#define USYSFS_UOBJ_BIN_ATTR 0x0008
-#define USYSFS_UOBJ_LINK 0x0020
-#define USYSFS_DEFAULT_DIR 0x0040
-#define USYSFS_NOT_PINNED (USYSFS_UOBJ_ATTR | USYSFS_UOBJ_BIN_ATTR)
-
int usysfs_register_subsystem(struct uset *k);
void usysfs_unregister_subsystem(struct uset *k);
Modified: trunk/fs/usysfs/usysfs_internal.h
===================================================================
--- trunk/fs/usysfs/usysfs_internal.h 2005-03-26 01:27:01 UTC (rev 2058)
+++ trunk/fs/usysfs/usysfs_internal.h 2005-03-26 01:28:52 UTC (rev 2059)
@@ -31,6 +31,25 @@
#include <linux/slab.h>
#include <linux/list.h>
+struct usysfs_dirent {
+ atomic_t s_count;
+ struct list_head s_sibling;
+ struct list_head s_children;
+ struct list_head s_links;
+ void * s_element;
+ int s_type;
+ umode_t s_mode;
+ struct dentry * s_dentry;
+};
+
+#define USYSFS_ROOT 0x0001
+#define USYSFS_DIR 0x0002
+#define USYSFS_UOBJ_ATTR 0x0004
+#define USYSFS_UOBJ_BIN_ATTR 0x0008
+#define USYSFS_UOBJ_LINK 0x0020
+#define USYSFS_DEFAULT_DIR 0x0040
+#define USYSFS_NOT_PINNED (USYSFS_UOBJ_ATTR | USYSFS_UOBJ_BIN_ATTR)
+
extern struct vfsmount * usysfs_mount;
extern int usysfs_is_root(struct uobject *uobj);
More information about the Ocfs2-commits
mailing list