aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r--fs/sysfs/dir.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index e993133aa969..158227e03b71 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -896,7 +896,9 @@ int sysfs_rename(struct sysfs_dirent *sd,
896 sd->s_name = new_name; 896 sd->s_name = new_name;
897 } 897 }
898 898
899 /* Move to the appropriate place in the appropriate directories rbtree. */ 899 /*
900 * Move to the appropriate place in the appropriate directories rbtree.
901 */
900 sysfs_unlink_sibling(sd); 902 sysfs_unlink_sibling(sd);
901 sysfs_get(new_parent_sd); 903 sysfs_get(new_parent_sd);
902 sysfs_put(sd->s_parent); 904 sysfs_put(sd->s_parent);