summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorEric Sesterhenn <snakebyte@gmx.de>2009-01-06 23:43:13 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:31 +0100
commit50682bb4de35544466c264c017030de826614367 (patch)
tree9e5fc77230deaa459ea4c12fdc3241ad991117e7 /drivers/parport
parentbfs: add some basic sanity checks (diff)
downloadlinux-50682bb4de35544466c264c017030de826614367.tar.xz
linux-50682bb4de35544466c264c017030de826614367.zip
bfs: check that filesystem fits on the blockdevice
Since all sanity checks rely on the validity of s_start which gets only checked to be smaller than s_end, we should also check if s_end is sane. Now we also try to retrieve the last block of the filesystem, which is computed by s_end. If this fails, something is bogus. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Acked-by: Tigran Aivazian <tigran@aivazian.fsnet.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions