From: ZhangZhen Date: Wed, 26 Feb 2014 02:32:41 +0000 (+0800) Subject: ext2/3: use prandom_u32() instead of get_random_bytes() X-Git-Tag: v3.15-rc1~53^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e878167af92fda03eb3a8597eec24128d4d47c43;p=pandora-kernel.git 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 Signed-off-by: Jan Kara --- Reading git-diff-tree failed