patch-1.3.14 linux/mm/filemap.c

Next file: linux/net/802/p8022.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.13/linux/mm/filemap.c linux/mm/filemap.c
@@ -81,6 +81,7 @@
 		return;
 	}
 	inode = vma->vm_inode;
+	offset += vma->vm_offset;
 	multi_bmap(inode, offset, nr, inode->i_sb->s_blocksize_bits);
 	bwrite_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize);
 }

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