From: Bryan Wu Date: Thu, 31 May 2007 03:31:55 +0000 (+0800) Subject: a bug in ramfs_nommu_resize function, passing old size to vmtruncate X-Git-Tag: v2.6.22-rc4~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0a6766e0cc5a577805732e5adb50a585c58175;p=pandora-kernel.git a bug in ramfs_nommu_resize function, passing old size to vmtruncate It should be pass "newsize" to vmtruncate function to modify the inode->i_size, while the old size is passed to vmtruncate. This bug was caught by LTP truncate test case on Blackfin platform. After it was fixed, the LTP truncate test case passed. Signed-off-by: Bryan Wu Cc: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed