diff options
author | Bryan Wu <bryan.wu@analog.com> | 2007-05-31 11:31:55 +0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-30 20:54:07 -0700 |
commit | 3f0a6766e0cc5a577805732e5adb50a585c58175 (patch) | |
tree | 3bf7db1b2c4c7a30505c2ff5aa5d8da6b51504d6 /drivers/scsi | |
parent | b4946ffb1860597b187d78d61ac6504177eb0ff8 (diff) |
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 <bryan.wu@analog.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions