diff options
| author | Tejun Heo <[email protected]> | 2007-09-20 16:05:10 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2007-10-12 14:51:09 -0700 |
| commit | f88123eaf953f13a0c597dde54745d28f81236de (patch) | |
| tree | d737f3d4a79055d9d6c8ab5df0c564ea6a89ec8a /scripts/patch-kernel | |
| parent | 181b2e4be1603ce3ccace8322047a548f29f4b20 (diff) | |
sysfs: fix sysfs_chmod_file() such that it updates sd->s_mode too
sysfs_chmod_file() looked and updated only inode of the target file.
Dentry and inode are reclaimable and the update mode data will go away
when the inode is reclaimed. This patch makes sysfs_chmod_file()
update sd->s_mode too such that the change is permanent.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions