Message ID | 172783103408.4038674.5358388719134964046.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [1/4] xfs_repair: fix exchrange upgrade | expand |
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/repair/incore_ino.c b/repair/incore_ino.c index 6618e534a..158e9b498 100644 --- a/repair/incore_ino.c +++ b/repair/incore_ino.c @@ -714,7 +714,7 @@ get_inode_parent(ino_tree_node_t *irec, int offset) else ptbl = irec->ino_un.plist; - if (ptbl->pmask & (1ULL << offset)) { + if (ptbl && (ptbl->pmask & (1ULL << offset))) { bitmask = 1ULL; target = 0;