X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fisofs%2Fcompress.c;h=877b4e47d76a7bbb6cba0d68c9c83556ec34abba;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=8877508ea039a6c5e61df1b67804ae1169ece5bf;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/isofs/compress.c b/fs/isofs/compress.c index 8877508ea..877b4e47d 100644 --- a/fs/isofs/compress.c +++ b/fs/isofs/compress.c @@ -114,7 +114,7 @@ static int zisofs_readpage(struct file *file, struct page *page) blockendptr = blockptr + 4; indexblocks = ((blockptr^blockendptr) >> bufshift) ? 2 : 1; - ptrbh[0] = ptrbh[1] = 0; + ptrbh[0] = ptrbh[1] = NULL; if ( isofs_get_blocks(inode, blockptr >> bufshift, ptrbh, indexblocks) != indexblocks ) { if ( ptrbh[0] ) brelse(ptrbh[0]);