aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/transaction.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-06-17 16:26:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:03:45 -0700
commite8ef7aaea79a899be4d7f50e829900c0ce15e52f (patch)
tree1cc2370f081264e506d85e954110d363961e37bd /fs/jbd/transaction.c
parentDoc fix: ext2 can only have 32,000 subdirs, not 32,768 (diff)
downloadlinux-dev-e8ef7aaea79a899be4d7f50e829900c0ce15e52f.tar.xz
linux-dev-e8ef7aaea79a899be4d7f50e829900c0ce15e52f.zip
ext3: fix chain verification in ext3_get_blocks()
Chain verification in ext3_get_blocks() has been hosed since it called verify_chain(chain, NULL) which always returns success. As a result readers could in theory race with truncate. On the other hand the race probably cannot happen with the current locking scheme, since by the time ext3_truncate() is called all the pages are already removed and hence get_block() shouldn't be called on such pages... Signed-off-by: Jan Kara <jack@suse.cz> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jbd/transaction.c')
0 files changed, 0 insertions, 0 deletions