Displaying 1 result from an estimated 1 matches for "ocfs2_set_inode_size".
2008 Jun 30
2
[BUGFIX][OCFS2 1/1] inode truncating
..._prepare_write() it dead loops since bytes(ip_mmu_private) is
not /
/increased in last prepare write./
BUG is described in
s://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=7183894.
solution:
/1) moves the clearing of page cache truncate_inode_pages() from
ocfs2_truncate_file() to/
/ocfs2_set_inode_size() after resizing inode size and i_blocks./
/2) in ocfs2_get_block(), add checks on iblock >= inode->i_blocks. if
true, return -EIO.
3) //a kernel bug fix is needed for 2.6.9 kernel.
//see https://bugzilla.redhat.com/show_bug.cgi?id=453359/
aops.c | 6 ++++++
file.c | 4 ++--
2 files...