/* Scan timer should get fired every ORPHAN_SCAN_SCHEDULE_TIMEOUT. Add some randomness to the timeout to minimize multple nodes firing the timer at the same time.  */
static unsigned long ocfs2_orphan_scan_timeout(void)
/* Scan timer should get fired every ORPHAN_SCAN_SCHEDULE_TIMEOUT. Add some randomness to the timeout to minimize multple nodes firing the timer at the same time.  */
static unsigned long ocfs2_orphan_scan_timeout(void)
{
	unsigned long time;
	get_random_bytes(&time, sizeof(time));
	time = ORPHAN_SCAN_SCHEDULE_TIMEOUT + (time % 5000);
	return msecs_to_jiffies(time);
}