Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299091
b: refs/heads/master
c: 3a19888
h: refs/heads/master
i:
  299089: 0bd4d43
  299087: aa6d82f
v: v3
  • Loading branch information
Dan Williams authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent bec7265 commit 2ec2294
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5631f2c18f4b2845b3e97df1c659c5094a17605f
refs/heads/master: 3a198886ab5f228fcbebb9ace803d8b99721d49a
3 changes: 3 additions & 0 deletions trunk/fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,9 @@ int sysfs_create_dir(struct kobject * kobj)
else
parent_sd = &sysfs_root;

if (!parent_sd)
return -ENOENT;

if (sysfs_ns_type(parent_sd))
ns = kobj->ktype->namespace(kobj);
type = sysfs_read_ns_type(kobj);
Expand Down

0 comments on commit 2ec2294

Please sign in to comment.