patch-2.1.88 linux/include/linux/file.h

Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/coda_psdev.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/include/linux/file.h linux/include/linux/file.h
@@ -29,6 +29,7 @@
 	int error = 0;
 
 	if (!count) {
+		locks_remove_flock(file);
 		error = __fput(file);
 		file->f_count = 0;
 		remove_filp(file);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov