aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dnotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dnotify.c')
-rw-r--r--fs/dnotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dnotify.c b/fs/dnotify.c
index f932591df5a4..2b0442db67e0 100644
--- a/fs/dnotify.c
+++ b/fs/dnotify.c
@@ -92,7 +92,7 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
92 prev = &odn->dn_next; 92 prev = &odn->dn_next;
93 } 93 }
94 94
95 error = f_setown(filp, current->pid, 0); 95 error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0);
96 if (error) 96 if (error)
97 goto out_free; 97 goto out_free;
98 98