From: Eric Sesterhenn Date: Tue, 6 Jan 2009 22:43:13 +0000 (-0800) Subject: bfs: check that filesystem fits on the blockdevice X-Git-Tag: v2.6.29-rc1~233 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50682bb4de35544466c264c017030de826614367;p=pandora-kernel.git 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 Acked-by: Tigran Aivazian Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed