git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
sysfs
/
bin.c
diff --git
a/fs/sysfs/bin.c
b/fs/sysfs/bin.c
index
6b4c288
..
d455725
100644
(file)
--- a/
fs/sysfs/bin.c
+++ b/
fs/sysfs/bin.c
@@
-94,7
+94,7
@@
static ssize_t write(struct file * file, const char __user * userbuf,
static int open(struct inode * inode, struct file * file)
{
static int open(struct inode * inode, struct file * file)
{
- struct kobject *
kobj = kobject_get(file->f_dentry->d_parent->d_fsdata
);
+ struct kobject *
kobj = sysfs_get_kobject(file->f_dentry->d_parent
);
struct bin_attribute * attr = file->f_dentry->d_fsdata;
int error = -EINVAL;
struct bin_attribute * attr = file->f_dentry->d_fsdata;
int error = -EINVAL;