xfs: fix inobt magic number check
In commita6a781a58b
("xfs: have buffer verifier functions report failing address") the bad magic number return was ported incorrectly. Fixes:a6a781a58b
Reported-by: syzbot+08ab33be0178b76851c8@syzkaller.appspotmail.com Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
This commit is contained in:
@@ -296,7 +296,7 @@ xfs_inobt_verify(
|
|||||||
case cpu_to_be32(XFS_FIBT_MAGIC):
|
case cpu_to_be32(XFS_FIBT_MAGIC):
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return __this_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* level verification */
|
/* level verification */
|
||||||
|
Reference in New Issue
Block a user