OpenCloudOS-Kernel/fs/bfs
Eric Sesterhenn 50682bb4de 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>
2009-01-06 15:59:31 -08:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bfs.h bfs: kill BKL 2008-07-26 12:00:03 -07:00
dir.c CRED: Wrap task credential accesses in the BFS filesystem 2008-11-14 10:38:47 +11:00
file.c bfs: kill BKL 2008-07-26 12:00:03 -07:00
inode.c bfs: check that filesystem fits on the blockdevice 2009-01-06 15:59:31 -08:00