Tejun Heo
fc9f54b998
sysfs: reorganize sysfs_new_indoe() and sysfs_create()
...
Reorganize/clean up sysfs_new_inode() and sysfs_create().
* sysfs_init_inode() is separated out from sysfs_new_inode() and is
responsible for basic initialization.
* sysfs_instantiate() replaces the last step of sysfs_create() and is
responsible for dentry instantitaion.
* type-specific initialization is moved out to the callers.
* mode is specified only once when creating a sysfs_dirent.
* spurious list_del_init(&sd->s_sibling) dropped from create_dir()
This change is to
* prepare for inode allocation fix.
* separate alloc and init code for synchronization update.
* make dentry/inode initialization more flexible for later changes.
This patch doesn't introduce visible behavior change.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:07 -07:00
..
2007-05-21 09:18:19 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:36 -07:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:51 -07:00
2007-07-11 16:09:00 -07:00
2007-05-08 11:14:59 -07:00
2007-07-09 08:24:13 +01:00
2007-07-11 16:09:06 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:04:15 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-08 11:14:59 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 13:56:13 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-06-16 13:16:16 -07:00
2007-05-17 05:23:04 -07:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:58:16 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-14 19:33:46 -04:00
2007-07-10 08:04:13 +02:00
2007-05-21 09:18:19 -07:00
2007-07-10 08:04:14 +02:00
2007-07-10 08:04:15 +02:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:06 -07:00
2007-05-17 05:23:04 -07:00
2007-07-11 16:09:06 -07:00
2007-07-09 18:52:00 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-17 05:23:04 -07:00
2007-07-10 08:04:13 +02:00
2007-07-11 16:09:07 -07:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-07-10 08:04:13 +02:00
2007-05-11 08:29:37 -07:00
2007-05-11 08:29:36 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:07 -07:00
2007-07-06 10:23:43 -07:00
2007-05-08 11:15:07 -07:00
2007-06-08 17:23:32 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-07-10 08:03:34 +02:00
2007-07-10 08:04:13 +02:00
2007-05-21 09:15:32 -07:00
2007-05-25 17:37:46 -07:00
2007-05-23 20:14:12 -07:00
2007-05-08 11:15:07 -07:00
2007-07-03 18:23:23 -07:00
2007-05-17 05:23:05 -07:00
2007-05-18 13:09:34 -07:00
2007-05-15 08:54:00 -07:00
2007-05-23 20:14:13 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-05-17 05:23:04 -07:00
2007-05-08 11:15:11 -07:00
2007-05-08 11:15:09 -07:00
2007-06-04 13:25:10 -07:00
2007-05-09 08:58:15 +02:00
2007-05-21 14:34:00 +09:00
2007-05-09 06:44:57 +02:00
2007-05-17 05:23:04 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:35 -07:00
2007-05-11 05:38:26 -04:00
2007-05-08 11:15:12 -07:00
2007-05-08 20:10:00 -07:00
2007-07-10 08:04:16 +02:00
2007-05-08 11:15:11 -07:00
2007-05-17 05:23:05 -07:00
2007-07-10 08:04:15 +02:00
2007-05-08 11:15:09 -07:00
2007-05-09 07:10:02 +02:00
2007-07-10 17:51:13 -07:00
2007-06-28 11:34:54 -07:00
2007-07-10 08:04:16 +02:00
2007-05-08 11:15:07 -07:00
2007-05-08 11:15:01 -07:00
2007-06-28 11:38:30 -07:00
2007-05-18 13:09:34 -07:00
2007-07-08 12:02:55 -07:00
2007-05-11 05:38:26 -04:00