patch-2.1.124 linux/fs/fcntl.c
Next file: linux/fs/proc/openpromfs.c
Previous file: linux/fs/ext2/ialloc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 28 11:08:33 1998
- Orig file:
v2.1.123/linux/fs/fcntl.c
- Orig date:
Thu Aug 20 17:05:17 1998
diff -u --recursive --new-file v2.1.123/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -97,7 +97,7 @@
/* Did FASYNC state change? */
if ((arg ^ filp->f_flags) & FASYNC) {
- if (filp->f_op->fasync)
+ if (filp->f_op && filp->f_op->fasync)
filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov