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/smbfs | |
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/smbfs')
-rw-r--r-- | fs/smbfs/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smbfs/file.c b/fs/smbfs/file.c index 2c3b96638..247bae08f 100644 --- a/fs/smbfs/file.c +++ b/fs/smbfs/file.c @@ -343,8 +343,10 @@ smb_file_open(struct inode *inode, struct file * file) static int smb_file_release(struct inode *inode, struct file * file) { + lock_kernel(); if (!--inode->u.smbfs_i.openers) smb_close(inode); + unlock_kernel(); return 0; } |