]> err.no Git - linux-2.6/commit
[PATCH] fix xip sparse file handling in ext2
authorCarsten Otte <cotte@freenet.de>
Wed, 27 Jul 2005 18:43:52 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:53 +0000 (16:25 -0700)
commit0cfc11ed45e4c00750039e5a18c0fc0d681e19db
treef269f327be4bce9c79f303a8720bf3c262fe1970
parent1872bcebbcd6ad7ddd99e92fb1e4f3d19e73919c
[PATCH] fix xip sparse file handling in ext2

Oliver Paukstadt from our test department is testing the xip patches in
Linus' git-tree.  He found a problem that shows when reading a file that
contains sparse blocks (holes) on a -o xip mounted ext2 filesystem: the
BUG_ON() in fs/ext2/xip.c:40 triggers where it should not.  The problem was
introduced by a cleanup in my previous patch, this patch fixes it.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext2/xip.c