git: sys/vfs/hammer2: Fix XOP structure used in hammer2_inode_chain_flush()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jul 16 02:02:38 PDT 2023


commit 41fa929b83a457679e957332e213225cbbfc6a55
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Jul 16 01:34:16 2023 -0700

    sys/vfs/hammer2: Fix XOP structure used in hammer2_inode_chain_flush()
    
    hammer2_inode_flush_desc expects hammer2_xop_flush_t, not hammer2_xop_fsync_t.
    It's been compiling since both have a common header at offset 0,
    and hammer2_xop_flush_t doesn't have any other fields.

Summary of changes:
 sys/vfs/hammer2/hammer2_inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/41fa929b83a457679e957332e213225cbbfc6a55


-- 
DragonFly BSD source repository


More information about the Commits mailing list