diff options
author | Wendy Cheng <wcheng@redhat.com> | 2007-08-24 17:15:01 +0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-10 11:55:51 +0400 |
commit | e9bd2b3bafd29bf75522546207f0bba0ec4515c2 (patch) | |
tree | fac6201981d94d827390ba23fe8fe6afc2fb0119 /fs/gfs2/log.c | |
parent | c4f68a130fc1795e4a75ec5bdaf9e85d86c22419 (diff) | |
download | linux-e9bd2b3bafd29bf75522546207f0bba0ec4515c2.tar.xz |
[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/log.c')
0 files changed, 0 insertions, 0 deletions