Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61471
b: refs/heads/master
c: a1da4df
h: refs/heads/master
i:
  61469: 2333ba2
  61467: d5fee51
  61463: 2cd0979
  61455: 1a5c716
  61439: aaeee93
v: v3
  • Loading branch information
Tejun Heo authored and Greg Kroah-Hartman committed Jul 18, 2007
1 parent 226b75d commit c2f48c1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2ee97caf0a6602f749ddbfdb1449e383e1212707
refs/heads/master: a1da4dfe35bc36c3bc9716d995c85b7983c38a76
2 changes: 2 additions & 0 deletions trunk/fs/sysfs/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ int sysfs_create_link(struct kobject * kobj, struct kobject * target, const char
sd = sysfs_new_dirent(name, S_IFLNK|S_IRWXUGO, SYSFS_KOBJ_LINK);
if (!sd)
goto out_put;

sd->s_elem.symlink.target_sd = target_sd;
target_sd = NULL; /* reference is now owned by the symlink */

sysfs_addrm_start(&acxt, parent_sd);

Expand Down

0 comments on commit c2f48c1

Please sign in to comment.