patch-1.3.46 linux/mm/mmap.c
Next file: linux/net/Changes
Previous file: linux/lib/write.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Dec 11 06:56:37 1995
- Orig file:
v1.3.45/linux/mm/mmap.c
- Orig date:
Tue Nov 21 13:22:14 1995
diff -u --recursive --new-file v1.3.45/linux/mm/mmap.c linux/mm/mmap.c
@@ -95,7 +95,7 @@
return -EINVAL;
}
if (flags & MAP_DENYWRITE) {
- if (file->f_inode->i_wcount > 0)
+ if (file->f_inode->i_writecount > 0)
return -ETXTBSY;
}
} else if ((flags & MAP_TYPE) != MAP_PRIVATE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this