patch-2.3.47 linux/mm/memory.c
Next file: linux/mm/mremap.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Wed Feb 16 20:23:47 2000
- Orig file:
v2.3.46/linux/mm/memory.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.3.46/linux/mm/memory.c linux/mm/memory.c
@@ -862,6 +862,7 @@
struct vm_area_struct * mpnt;
struct address_space *mapping = inode->i_mapping;
+ inode->i_size = offset;
truncate_inode_pages(mapping, offset);
spin_lock(&mapping->i_shared_lock);
if (!mapping->i_mmap)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)