summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2016-05-26 10:56:50 +0800
committerDavid Sterba <dsterba@suse.com>2016-06-01 16:43:25 +0200
commit17239a9c89dec5576784675edd205264535c1557 (patch)
treea4568be7e1095f342a36ff1e6c1b0b108f831d80 /COPYING
parentee0908ee81e55d730402cd4931513579b34ea792 (diff)
btrfs-progs: utils: Introduce new pseudo random API
David has reported some quite chaos usage of pseudo random numbers. Like using static srand seed, or even calling rand() without setting seed correctly. The new pseudo random API will initialize the random seed on its first calling and use uniformly distributed pseudo random number generator as backend. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> [ renamed variables and functions, added prefixes ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions