mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-27 08:05:27 +08:00
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:
parent
aee9a4a555
commit
2e050e648a
@ -296,7 +296,7 @@ xfs_inobt_verify(
|
||||
case cpu_to_be32(XFS_FIBT_MAGIC):
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
||||
return __this_address;
|
||||
}
|
||||
|
||||
/* level verification */
|
||||
|
Loading…
Reference in New Issue
Block a user