summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorWendy Cheng <wcheng@redhat.com>2007-08-24 09:15:01 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 08:55:51 +0100
commite9bd2b3bafd29bf75522546207f0bba0ec4515c2 (patch)
treefac6201981d94d827390ba23fe8fe6afc2fb0119 /fs/gfs2/ops_inode.c
parentc4f68a130fc1795e4a75ec5bdaf9e85d86c22419 (diff)
downloadop-kernel-dev-e9bd2b3bafd29bf75522546207f0bba0ec4515c2.zip
op-kernel-dev-e9bd2b3bafd29bf75522546207f0bba0ec4515c2.tar.gz
[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 <wcheng@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud