aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r--fs/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c
index ac4f7db9f134..bf049a805e59 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -211,7 +211,7 @@ int __f_setown(struct file *filp, struct pid *pid, enum pid_type type,
211 if (err) 211 if (err)
212 return err; 212 return err;
213 213
214 f_modown(filp, pid, type, current->uid, current->euid, force); 214 f_modown(filp, pid, type, current_uid(), current_euid(), force);
215 return 0; 215 return 0;
216} 216}
217EXPORT_SYMBOL(__f_setown); 217EXPORT_SYMBOL(__f_setown);