Export get_random_int()
authorKent Overstreet <koverstreet@google.com>
Mon, 9 Apr 2012 04:39:00 +0000 (00:39 -0400)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 22:53:52 +0000 (15:53 -0700)
commit1f8e8ed05184eed5f9adf48fb2f6be00a907a181
tree0ff88a609c907bc852d6f72b369b685eb257ea29
parent84759c6d18c5144432781ddca037d929ee9db8a5
Export get_random_int()

Needed for bcache - need a cheap source of random numbers for perturbing
IO sizes, for rate limiting IO to the SSD.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: "Theodore Ts'o" <tytso@mit.edu>
drivers/char/random.c