aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/file_table.c')
-rw-r--r--fs/file_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index abdd15ad13c9..e61e5529fa9d 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -240,11 +240,11 @@ static void __fput(struct file *file)
240 locks_remove_flock(file); 240 locks_remove_flock(file);
241 241
242 if (unlikely(file->f_flags & FASYNC)) { 242 if (unlikely(file->f_flags & FASYNC)) {
243 if (file->f_op && file->f_op->fasync) 243 if (file->f_op->fasync)
244 file->f_op->fasync(-1, file, 0); 244 file->f_op->fasync(-1, file, 0);
245 } 245 }
246 ima_file_free(file); 246 ima_file_free(file);
247 if (file->f_op && file->f_op->release) 247 if (file->f_op->release)
248 file->f_op->release(inode, file); 248 file->f_op->release(inode, file);
249 security_file_free(file); 249 security_file_free(file);
250 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL && 250 if (unlikely(S_ISCHR(inode->i_mode) && inode->i_cdev != NULL &&