diff --git a/fs/open.c b/fs/open.c index 8092178ceab0fa8313b7a6f0c1e4dfcad191e9d5..68de475df5ece975560a62df013ba8733ca6296b 100644 --- a/fs/open.c +++ b/fs/open.c @@ -1285,7 +1285,7 @@ int filp_close(struct file *filp, fl_owner_t id) { int retval = 0; - if (!file_count(filp)) { + if (unlikely(!file_count(filp))) { printk(KERN_ERR "VFS: Close: file count is 0\n"); return 0; }