]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[GFS2] The case of the missing asterisk
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 12 Feb 2008 12:14:59 +0000 (12:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:40:50 +0000 (10:40 +0100)
A dereference was forgotten. This adds it back correctly.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c

index 1fda731c074b97dc83f72834d1668e9486d0792c..7f72564e0597dc519a4525b972ba0d0a080d9d6d 100644 (file)
@@ -402,7 +402,7 @@ static int lookup_metapath(struct inode *inode, struct metapath *mp,
 
        for (x = 0; x < end_of_metadata; x++) {
                lookup_block(ip, x, mp, create, new, dblock);
-               if (!dblock)
+               if (!*dblock)
                        return 0;
 
                ret = gfs2_meta_indirect_buffer(ip, x+1, *dblock, *new, &mp->mp_bh[x+1]);