Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16216
b: refs/heads/master
c: e80a5de
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Greg Kroah-Hartman committed Jan 5, 2006
1 parent 88932ba commit ca90847
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8218ef80932aa7e5e3d20c929a640c8d82133a9a
refs/heads/master: e80a5dea8e056d8f398be1900d61c581d379f02f
6 changes: 5 additions & 1 deletion trunk/fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ static int create_dir(struct kobject * k, struct dentry * p,
}
}
if (error && (error != -EEXIST)) {
sysfs_put((*d)->d_fsdata);
struct sysfs_dirent *sd = (*d)->d_fsdata;
if (sd) {
list_del_init(&sd->s_sibling);
sysfs_put(sd);
}
d_drop(*d);
}
dput(*d);
Expand Down

0 comments on commit ca90847

Please sign in to comment.