ZhangZhen e878167af9 ext2/3: use prandom_u32() instead of get_random_bytes()
Many of the uses of get_random_bytes() do not actually need
cryptographically secure random numbers.  Replace those uses with a
call to prandom_u32(), which is faster and which doesn't consume
entropy from the /dev/random driver.

The commit dd1f723bf56bd96efc9d90e9e60dc511c79de48f has made that for
ext4, and i did the same for ext2/3.

Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2014-03-04 12:19:03 +01:00
..
2012-07-30 17:25:16 -07:00
2012-03-31 16:03:16 -04:00
2013-02-22 23:31:31 -05:00
2010-07-23 12:50:55 +02:00
2012-10-09 23:21:42 +02:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00