projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce __fcheck_files() to fix rcu_dereference_check_fdtable(), kill rcu_my_thread...
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
file.c
diff --git
a/fs/file.c
b/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) {
*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 {
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) {
*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);
} else {
rcu_read_lock();
file = fcheck_files(files, fd);