projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8312a8d
)
sysfs: fix root sysfs_dirent -> root dentry association
author
Tejun Heo
<htejun@gmail.com>
Wed, 13 Jun 2007 18:45:18 +0000
(
03:45
+0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 11 Jul 2007 23:09:07 +0000
(16:09 -0700)
The root sysfs_dirent didn't point to the root dentry fix it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/mount.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sysfs/mount.c
b/fs/sysfs/mount.c
index 6d3a6249d21cf6e708523bc905bbfb64e4128656..d0e160307c5dba54eceb086885ae3c7efd939efa 100644
(file)
--- a/
fs/sysfs/mount.c
+++ b/
fs/sysfs/mount.c
@@
-65,6
+65,7
@@
static int sysfs_fill_super(struct super_block *sb, void *data, int silent)
iput(inode);
return -ENOMEM;
}
+ sysfs_root.s_dentry = root;
root->d_fsdata = &sysfs_root;
sb->s_root = root;
return 0;