Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201275
b: refs/heads/master
c: 521d045
h: refs/heads/master
i:
  201273: a488d44
  201271: 0491fb1
v: v3
  • Loading branch information
Eric W. Biederman authored and Greg Kroah-Hartman committed Jul 26, 2010
1 parent fd54339 commit 67159ac
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 96d6523adffbab64f099561a021892125e0c672c
refs/heads/master: 521d0453547d6195d200176328aaec6c98a7a290
2 changes: 1 addition & 1 deletion trunk/fs/sysfs/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void sysfs_delete_link(struct kobject *kobj, struct kobject *targ,
{
const void *ns = NULL;
spin_lock(&sysfs_assoc_lock);
if (targ->sd)
if (targ->sd && sysfs_ns_type(kobj->sd))
ns = targ->sd->s_ns;
spin_unlock(&sysfs_assoc_lock);
sysfs_hash_and_remove(kobj->sd, ns, name);
Expand Down

0 comments on commit 67159ac

Please sign in to comment.