patch-2.4.0-test4 linux/fs/hpfs/file.c
Next file: linux/fs/inode.c
Previous file: linux/fs/hpfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Jul 12 21:58:44 2000
- Orig file:
v2.4.0-test3/linux/fs/hpfs/file.c
- Orig date:
Mon Jul 10 16:47:25 2000
diff -u --recursive --new-file v2.4.0-test3/linux/fs/hpfs/file.c linux/fs/hpfs/file.c
@@ -24,7 +24,9 @@
int hpfs_file_release(struct inode *inode, struct file *file)
{
+ lock_kernel();
hpfs_write_if_changed(inode);
+ unlock_kernel();
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)