Message ID | 20180221033732.GJ27629@magnolia (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/db/block.c b/db/block.c index 5ecd687..174e29a 100644 --- a/db/block.c +++ b/db/block.c @@ -84,6 +84,11 @@ ablock_f( } push_cur(); set_cur_inode(iocur_top->ino); + if (!iocur_top->data) { + pop_cur(); + dbprintf(_("no current inode\n")); + return 0; + } haveattr = XFS_DFORK_Q((xfs_dinode_t *)iocur_top->data); pop_cur(); if (!haveattr) {