diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-08-12 16:24:26 -0700 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-09-08 14:25:54 +0800 |
commit | f5ce5a08a40f2086435858ddc80cb40394b082eb (patch) | |
tree | b8880708bcddc0568b6746a7156b9ff21617750d /drivers/power/pda_power.c | |
parent | dc696aced9f09f05b1f927b93f5a7918017a3e49 (diff) | |
download | linux-stable-f5ce5a08a40f2086435858ddc80cb40394b082eb.tar.gz linux-stable-f5ce5a08a40f2086435858ddc80cb40394b082eb.tar.bz2 linux-stable-f5ce5a08a40f2086435858ddc80cb40394b082eb.zip |
ocfs2: Fix incorrect checksum validation error
For local mounts, ocfs2_read_locked_inode() calls ocfs2_read_blocks_sync() to
read the inode off the disk. The latter first checks to see if that block is
cached in the journal, and, if so, returns that block. That is ok.
But ocfs2_read_locked_inode() goes wrong when it tries to validate the checksum
of such blocks. Blocks that are cached in the journal may not have had their
checksum computed as yet. We should not validate the checksums of such blocks.
Fixes ossbz#1282
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1282
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Cc: stable@kernel.org
Singed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'drivers/power/pda_power.c')
0 files changed, 0 insertions, 0 deletions