]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: implement get_random_u32
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:34 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:13:12 +0000 (17:13 -0700)
commitef77a37df97bfae86bdd0ab98e68addc704fc4ce
tree0c5294a5798a9f66b2b46729d3617454ef79c6b3
parent0983af65651b4122fff2c62866a63798258e8dac
libxfs: implement get_random_u32

Actually query the kernel for some random bytes instead of returning
zero, if that's possible.  The most noticeable effect of this is that
mkfs will now create the rtbitmap file, the rtsummary file, and children
of the root directory with a nonzero generation.  Apparently xfsdump
requires that the root directory have a generation number of zero.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
configure.ac
include/builddefs.in
libxfs/Makefile
libxfs/libxfs_priv.h
libxfs/util.c
m4/package_libcdev.m4
mkfs/proto.c