CRED: Wrap task credential accesses in the filesystem subsystem
[deliverable/linux.git] / fs / inotify_user.c
index d367e9b9286276db8c686c96485d29fefdbe876e..e2425bbd871f8bc5cd2fd80e962d5638f28e5832 100644 (file)
@@ -601,7 +601,7 @@ asmlinkage long sys_inotify_init1(int flags)
                goto out_put_fd;
        }
 
-       user = get_uid(current->user);
+       user = get_current_user();
        if (unlikely(atomic_read(&user->inotify_devs) >=
                        inotify_max_user_instances)) {
                ret = -EMFILE;
This page took 0.023894 seconds and 5 git commands to generate.