logfs: fix logfs_seek_hole()
authorJoern Engel <joern@logfs.org>
Sat, 1 May 2010 15:33:06 +0000 (17:33 +0200)
committerJoern Engel <joern@logfs.org>
Sat, 1 May 2010 16:02:30 +0000 (18:02 +0200)
commitbd2b3f29594c50d7c5bd864d9af05d440394ee82
tree1e8e49fe9d346d7ca869dc6e5954195be0e94123
parentad342631f13d40aa787b9e5aaf4800f10d6c3647
logfs: fix logfs_seek_hole()

logfs_seek_hole(inode, 0x200) would crap itself if the inode contained
just 0x1ff (or fewer) blocks.

Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/readwrite.c