aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-02-12 07:14:59 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 05:40:50 -0400
commitc85a665f064863cc8a2fe88e5f1eb4def5446e90 (patch)
treee0494fb688424e7c27a4e372b02f245a2b3fb3c4 /fs/gfs2
parentb45e41d7d56dfef1ae9e02e6c59990066ba82e5c (diff)
[GFS2] The case of the missing asterisk
A dereference was forgotten. This adds it back correctly. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 1fda731c074b..7f72564e0597 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -402,7 +402,7 @@ static int lookup_metapath(struct inode *inode, struct metapath *mp,
402 402
403 for (x = 0; x < end_of_metadata; x++) { 403 for (x = 0; x < end_of_metadata; x++) {
404 lookup_block(ip, x, mp, create, new, dblock); 404 lookup_block(ip, x, mp, create, new, dblock);
405 if (!dblock) 405 if (!*dblock)
406 return 0; 406 return 0;
407 407
408 ret = gfs2_meta_indirect_buffer(ip, x+1, *dblock, *new, &mp->mp_bh[x+1]); 408 ret = gfs2_meta_indirect_buffer(ip, x+1, *dblock, *new, &mp->mp_bh[x+1]);