Re: [PATCH 1/1] random: export add_disk_randomness
On 04/28/2014 05:29 AM, Christoph Hellwig wrote: > On Fri, Apr 25, 2014 at 09:49:51AM -0400, Theodore Ts'o wrote: >> On Fri, Apr 25, 2014 at 12:36:37AM -0700, Christoph Hellwig wrote: >>> This will be needed for pending changes to the scsi midlayer that now calls >>> lower level block APIs, as well as any blk-mq driver that wants to >>> contribute >>> to the random pool. >>> >>> Signed-off-by: Christoph Hellwig >> >> Acked-by: "Theodore Ts'o" > > Jens, can you pull this into the block tree for me? Yep, I'll add it, thanks. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/1] random: export add_disk_randomness
On Fri, Apr 25, 2014 at 09:49:51AM -0400, Theodore Ts'o wrote: > On Fri, Apr 25, 2014 at 12:36:37AM -0700, Christoph Hellwig wrote: > > This will be needed for pending changes to the scsi midlayer that now calls > > lower level block APIs, as well as any blk-mq driver that wants to > > contribute > > to the random pool. > > > > Signed-off-by: Christoph Hellwig > > Acked-by: "Theodore Ts'o" Jens, can you pull this into the block tree for me? -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/1] random: export add_disk_randomness
On Fri, Apr 25, 2014 at 12:36:37AM -0700, Christoph Hellwig wrote: > This will be needed for pending changes to the scsi midlayer that now calls > lower level block APIs, as well as any blk-mq driver that wants to contribute > to the random pool. > > Signed-off-by: Christoph Hellwig Acked-by: "Theodore Ts'o" -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 1/1] random: export add_disk_randomness
This will be needed for pending changes to the scsi midlayer that now calls lower level block APIs, as well as any blk-mq driver that wants to contribute to the random pool. Signed-off-by: Christoph Hellwig --- drivers/char/random.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/random.c b/drivers/char/random.c index 6b75713..0a19d86 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -902,6 +902,7 @@ void add_disk_randomness(struct gendisk *disk) add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); trace_add_disk_randomness(disk_devt(disk), ENTROPY_BITS(&input_pool)); } +EXPORT_SYMBOL_GPL(add_disk_randomness); #endif /* -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html