patch-2.1.57 linux/fs/nfs/file.c
Next file: linux/fs/nfsd/export.c
Previous file: linux/fs/nfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Sep 20 14:51:55 1997
- Orig file:
v2.1.56/linux/fs/nfs/file.c
- Orig date:
Tue Sep 23 16:48:49 1997
diff -u --recursive --new-file v2.1.56/linux/fs/nfs/file.c linux/fs/nfs/file.c
@@ -209,7 +209,7 @@
/* If unlocking a file region, flush dirty pages (unless we've
* been killed by a signal, that is). */
if (cmd == F_SETLK && fl->fl_type == F_UNLCK
- && !(current->signal & ~current->blocked)) {
+ && !signal_pending(current)) {
status = nfs_flush_dirty_pages(inode,
fl->fl_start, fl->fl_end == NLM_OFFSET_MAX? 0 :
fl->fl_end - fl->fl_start + 1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov