commit | 97f76d3d197f201ac8a8a3ced5b8fef81568e50e | [log] [tgz] |
---|---|---|
author | Nikanth Karthikesan <knikanth@suse.de> | Thu Apr 02 16:56:46 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Apr 02 19:04:49 2009 -0700 |
tree | 8264f920a1f1a83e9cb0247ffe9390a7b6332852 | |
parent | 9a896c9a48ac6704c0ce8ee081b836644d0afe40 [diff] |
vfs: check bh->b_blocknr only if BH_Mapped is set Check bh->b_blocknr only if BH_Mapped is set. akpm: I doubt if b_blocknr is ever uninitialised here, but it could conceivably cause a problem if we're doing a lookup for block zero. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>