patch-2.1.37 linux/fs/lockd/svcsubs.c
Next file: linux/fs/locks.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 12 10:35:42 1997
- Orig file:
v2.1.36/linux/fs/lockd/svcsubs.c
- Orig date:
Mon Apr 7 11:35:30 1997
diff -u --recursive --new-file v2.1.36/linux/fs/lockd/svcsubs.c linux/fs/lockd/svcsubs.c
@@ -228,12 +228,12 @@
down(&nlm_file_sema);
/* If there are no more locks etc, delete the file */
- if (--(file->f_count) == 0
- && !nlm_inspect_file(NULL, file, NLM_ACT_CHECK))
- nlm_delete_file(file);
+ if(--file->f_count == 0) {
+ if(!nlm_inspect_file(NULL, file, NLM_ACT_CHECK))
+ nlm_delete_file(file);
+ }
up(&nlm_file_sema);
- return;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov