mbox series

[PATCHSET,v4,0/6] various: random fixes

Message ID 161284387610.3058224.6236053293202575597.stgit@magnolia (mailing list archive)
Headers show
Series various: random fixes | expand

Message

Darrick J. Wong Feb. 9, 2021, 4:11 a.m. UTC
Hi all,

Here are some random fixes to the utilities: the first shuts up valgrind
warnings about uninitialized userspace memory being passed into kernel
ioctls; the second fixes warnings about libicu not being released at the
end of scrub; and the third fixes false collision reports during scrub
phase 5 if someone is replacing directory items while the scanner is
running.

v2: respond to reviewer comments
v3: make repair check dquot types and ids
v4: add a minor code cleanup in xfs_scrub

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=random-fixes

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=random-fixes

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=random-fixes
---
 libhandle/handle.c  |   10 +++++----
 repair/quotacheck.c |   58 ++++++++++++++++++++++++++++++++++++++++++++++++---
 scrub/inodes.c      |   18 +++++++++++++++-
 scrub/phase5.c      |   10 +++++----
 scrub/spacemap.c    |    3 +--
 scrub/unicrash.c    |   33 ++++++++++++++++++++++++++++-
 scrub/unicrash.h    |    4 ++++
 scrub/xfs_scrub.c   |    7 ++++++
 8 files changed, 128 insertions(+), 15 deletions(-)