introduce __fcheck_files() to fix rcu_dereference_check_fdtable(), kill rcu_my_thread...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / file.c
index 4a78f98..957cbc0 100644 (file)
--- a/fs/file.c
+++ b/fs/file.c
@@ -707,7 +707,7 @@ struct file *fget_light(unsigned int fd, int *fput_needed)
 
        *fput_needed = 0;
        if (atomic_read(&files->count) == 1) {
-               file = fcheck_files(files, fd);
+               file = __fcheck_files(files, fd);
                if (file && (file->f_mode & FMODE_PATH))
                        file = NULL;
        } else {
@@ -735,7 +735,7 @@ struct file *fget_raw_light(unsigned int fd, int *fput_needed)
 
        *fput_needed = 0;
        if (atomic_read(&files->count) == 1) {
-               file = fcheck_files(files, fd);
+               file = __fcheck_files(files, fd);
        } else {
                rcu_read_lock();
                file = fcheck_files(files, fd);