diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-15 03:32:22 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-15 03:32:22 +0000 |
commit | f1da2c3860e301527d56a1ef0b56c649ee7c4b1b (patch) | |
tree | 562b5d2e8b9cb62eb983d78ff6bcf9789e08fcf6 /fs/file_table.c | |
parent | 00f11569ac8ca73cbcdef8822de1583e79aee571 (diff) |
Merge with Linux 2.4.0-test5-pre1. This works again on Origin UP.
The IP22 cache bugs which are plaguing some machines are still unfixed.
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index a64bef65c..2eaceae07 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -124,11 +124,8 @@ static void __fput(struct file *filp) struct vfsmount * mnt = filp->f_vfsmnt; struct inode * inode = dentry->d_inode; - if (filp->f_op && filp->f_op->release) { - lock_kernel(); + if (filp->f_op && filp->f_op->release) filp->f_op->release(inode, filp); - unlock_kernel(); - } fops_put(filp->f_op); filp->f_dentry = NULL; filp->f_vfsmnt = NULL; |