]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: fix xfs_btree_query_range callers to initialize btree rec fully
authorDarrick J. Wong <djwong@kernel.org>
Wed, 6 Sep 2023 11:53:48 +0000 (13:53 +0200)
committerCarlos Maiolino <cem@kernel.org>
Thu, 7 Sep 2023 09:55:50 +0000 (11:55 +0200)
commit05dcea079c30819909d513b488659a5fe2e876a2
treecc1afbccf63840d7c2b957528e5ce90ce559ec7f
parentd096b26c33a858ad88db98306057da67e6d18611
xfs: fix xfs_btree_query_range callers to initialize btree rec fully

Source kernel commit: 75dc0345312221971903b2e28279b7e24b7dbb1b

Use struct initializers to ensure that the xfs_btree_irecs passed into
the query_range function are completely initialized.  No functional
changes, just closing some sloppy hygiene.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_alloc.c
libxfs/xfs_refcount.c
libxfs/xfs_rmap.c