mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 05:11:32 +00:00
[GFS2] The case of the missing asterisk
A dereference was forgotten. This adds it back correctly. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
b45e41d7d5
commit
c85a665f06
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user