From: Wendy Cheng Date: Fri, 24 Aug 2007 13:15:01 +0000 (-0400) Subject: [GFS2] fix inode meta data corruption X-Git-Tag: v2.6.24-rc1~1405^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bd2b3bafd29bf75522546207f0bba0ec4515c2;p=pandora-kernel.git [GFS2] fix inode meta data corruption Fix a nasty inode meta data corruption issue by keeping the buffer head in icache array. This buffer needs to stay in memory until journal flush occurs Otherwise, gfs2_meta_inode_buffer could do a disk read before the inode hits disk. It ends up with meta data corruptions. The buffer will be released as part of the existing journal flush logic. Signed-off-by: S. Wendy Cheng Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed