]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/dnotify.c
[DECNET] address: Rename rtmsg_ifa() to dn_ifaddr_notify()
[net-next-2.6.git] / fs / dnotify.c
index f932591df5a43d00af7b2a6c72db3a1de1fdcb3b..2b0442db67e05cb7b0a275dafd0f7c762d86e050 100644 (file)
@@ -92,7 +92,7 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned long arg)
                prev = &odn->dn_next;
        }
 
-       error = f_setown(filp, current->pid, 0);
+       error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0);
        if (error)
                goto out_free;