]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: replace cfs_get_random_bytes calls with get_random_byte()
authorNeilBrown <neilb@suse.com>
Mon, 18 Dec 2017 01:41:42 +0000 (12:41 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:44 +0000 (16:03 +0100)
commite5167eae5f58deaceb39b2c5230079e57f0f8bbb
tree456c0f779dbb6d40ee919dfdae240921eb1010dd
parentec03ae03426945cb4eaf611bdfd3123c8dfdc823
staging: lustre: replace cfs_get_random_bytes calls with get_random_byte()

The cfs_get_random_bytes() interface adds nothing of value
to get_random_byte() (which it uses internally).  So just use the
standard interface.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/obd_class.h
drivers/staging/lustre/lustre/obdclass/lustre_handles.c
drivers/staging/lustre/lustre/ptlrpc/client.c