Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299089
b: refs/heads/master
c: 70fa4a6
h: refs/heads/master
i:
  299087: aa6d82f
v: v3
  • Loading branch information
Tom Goff authored and Greg Kroah-Hartman committed Apr 9, 2012
1 parent 070b0cd commit 0bd4d43
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: 3a4ffe930a2d2dad07604fe74d21b878decc6461
refs/heads/master: 70fa4a62e913dde2d100e0be2711562742f58bee
2 changes: 1 addition & 1 deletion trunk/fs/sysfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -878,14 +878,14 @@ int sysfs_rename(struct sysfs_dirent *sd,

dup_name = sd->s_name;
sd->s_name = new_name;
sd->s_hash = sysfs_name_hash(sd->s_ns, sd->s_name);
}

/* Move to the appropriate place in the appropriate directories rbtree. */
sysfs_unlink_sibling(sd);
sysfs_get(new_parent_sd);
sysfs_put(sd->s_parent);
sd->s_ns = new_ns;
sd->s_hash = sysfs_name_hash(sd->s_ns, sd->s_name);
sd->s_parent = new_parent_sd;
sysfs_link_sibling(sd);

Expand Down

0 comments on commit 0bd4d43

Please sign in to comment.