]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: rename the global nr_threads
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 28 Mar 2019 23:05:01 +0000 (18:05 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 28 Mar 2019 23:05:01 +0000 (18:05 -0500)
commit32c6cc090cdc4519e9bbb0b1800ddc0c470e74da
tree1dfc6e6f91c723beb62b54406752ddbcff187e0c
parent5e7a0439ca349225b170e1282cc5a3f4950a7fa3
xfs_scrub: rename the global nr_threads

Various functions have nr_threads local variables that shadow the global
one.  Since the global one forces the number of threads we use, change
its name to remove this ambiguity and reflect what it really does.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
scrub/common.c
scrub/disk.c
scrub/xfs_scrub.c
scrub/xfs_scrub.h