git: sys/vfs/hammer2: Use correct XOP struct in hammer2_xop_{lookup, delete}

Tomohiro Kusumi tkusumi at
Tue Oct 4 00:55:39 PDT 2022

commit b5513ad07d1898ad3779a6dee547bce007782bb2
Author: Tomohiro Kusumi <tkusumi at>
Date:   Sun Oct 2 23:27:44 2022 -0700

    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).

Summary of changes:
 sys/vfs/hammer2/hammer2_xops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list