sys/vfs/hammer2: Use correct XOP struct in hammer2_xop_{lookup,delete}
authorTomohiro Kusumi <tkusumi@netbsd.org>
Mon, 3 Oct 2022 06:27:44 +0000 (23:27 -0700)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Tue, 4 Oct 2022 06:48:48 +0000 (23:48 -0700)
commitb5513ad07d1898ad3779a6dee547bce007782bb2
treea6bfc1e338f5c716a3347f139b2fd25b62dbed65
parent5b691df11e77072460ac7e17f1b19a51b0039e90
sys/vfs/hammer2: Use correct XOP struct in hammer2_xop_{lookup,delete}

Callers of these XOP use hammer2_xop_lookup_t,
but the XOP implementation takes it as hammer2_xop_scanlhc_t.
It was working as the definition of these structs are the same.

Apparently hammer2_xop_lookup() should be using hammer2_xop_lookup_t.
hammer2_xop_delete() should be using hammer2_xop_lookup_t too given
similarity in its implementation (i.e. caller side is correct).
sys/vfs/hammer2/hammer2_xops.c