Fix an error in writepage when a file is extended.
authorluc <luc>
Thu, 4 Aug 2005 22:47:36 +0000 (22:47 +0000)
committerluc <luc>
Thu, 4 Aug 2005 22:47:36 +0000 (22:47 +0000)
When a file is extended with truncate(), the call to inode_setattr() in yaffs_setattr()
call vmtruncate() which itself call a bunches of yaffs_writepage().
There we must NOT fill page whit index greater that the one given by the inode
'cos these pages refers to parts of the file which doesn't physically exists.


No differences found