diff --git a/fs/file_table.c b/fs/file_table.c index c3dee381f1b4ea588f2188a33b3237f8efc251df..c3e89adf53c018ce48e88233c7321e586a18cbb3 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -311,7 +311,7 @@ struct file *fget_light(unsigned int fd, int *fput_needed) struct files_struct *files = current->files; *fput_needed = 0; - if (likely((atomic_read(&files->count) == 1))) { + if (atomic_read(&files->count) == 1) { file = fcheck_files(files, fd); } else { rcu_read_lock();