patch-2.4.0-test2 linux/fs/file_table.c
Next file: linux/fs/filesystems.c
Previous file: linux/fs/fcntl.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Tue Jun 20 07:55:37 2000
- Orig file:
v2.4.0-test1/linux/fs/file_table.c
- Orig date:
Fri May 12 14:18:55 2000
diff -u --recursive --new-file v2.4.0-test1/linux/fs/file_table.c linux/fs/file_table.c
@@ -9,6 +9,7 @@
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/init.h>
+#include <linux/module.h>
#include <linux/smp_lock.h>
/* SLAB cache for filp's. */
@@ -127,6 +128,7 @@
if (filp->f_op && filp->f_op->release)
filp->f_op->release(inode, filp);
+ fops_put(filp->f_op);
filp->f_dentry = NULL;
filp->f_vfsmnt = NULL;
if (filp->f_mode & FMODE_WRITE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)