commit | c85a665f064863cc8a2fe88e5f1eb4def5446e90 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Tue Feb 12 12:14:59 2008 +0000 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Mon Mar 31 10:40:50 2008 +0100 |
tree | e0494fb688424e7c27a4e372b02f245a2b3fb3c4 | |
parent | b45e41d7d56dfef1ae9e02e6c59990066ba82e5c [diff] [blame] |
[GFS2] The case of the missing asterisk 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 @@ 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]);