aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/kernfs/symlink.c')
-rw-r--r--fs/kernfs/symlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/kernfs/symlink.c b/fs/kernfs/symlink.c
index 162f43b80c84..eb46c3a16e2f 100644
--- a/fs/kernfs/symlink.c
+++ b/fs/kernfs/symlink.c
@@ -33,8 +33,8 @@ struct kernfs_node *kernfs_create_link(struct kernfs_node *parent,
33 kgid_t gid = GLOBAL_ROOT_GID; 33 kgid_t gid = GLOBAL_ROOT_GID;
34 34
35 if (target->iattr) { 35 if (target->iattr) {
36 uid = target->iattr->ia_iattr.ia_uid; 36 uid = target->iattr->ia_uid;
37 gid = target->iattr->ia_iattr.ia_gid; 37 gid = target->iattr->ia_gid;
38 } 38 }
39 39
40 kn = kernfs_new_node(parent, name, S_IFLNK|S_IRWXUGO, uid, gid, 40 kn = kernfs_new_node(parent, name, S_IFLNK|S_IRWXUGO, uid, gid,