All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [GFS2] The case of the missing asterisk
@ 2008-02-12 12:52 Steven Whitehouse
  0 siblings, 0 replies; only message in thread
From: Steven Whitehouse @ 2008-02-12 12:52 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi,

During a recent patch, a dereference was forgotten, this adds it back
correctly,

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index 1fda731..7f72564 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,
 
 	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]);




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-12 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 12:52 [Cluster-devel] [GFS2] The case of the missing asterisk Steven Whitehouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.