aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysfs/symlink.c')
-rw-r--r--fs/sysfs/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c
index 7d981ce2e87f..c96b31a16485 100644
--- a/fs/sysfs/symlink.c
+++ b/fs/sysfs/symlink.c
@@ -191,7 +191,7 @@ int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ,
191 old_ns = targ->sd->s_ns; 191 old_ns = targ->sd->s_ns;
192 192
193 result = -ENOENT; 193 result = -ENOENT;
194 sd = sysfs_get_dirent(parent_sd, old_ns, old); 194 sd = sysfs_get_dirent_ns(parent_sd, old, old_ns);
195 if (!sd) 195 if (!sd)
196 goto out; 196 goto out;
197 197