name_to_dev_t() must not call __init code
authorJan Beulich <JBeulich@novell.com>
Mon, 3 Jan 2011 15:07:02 +0000 (15:07 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 3 Jan 2011 19:48:11 +0000 (11:48 -0800)
commita1cf11d8f673a3ad91012c5da96beed06ecefde1
treee729bb79ce66f2983d5d4b9afcf8d9a4c365c1c3
parentb518a64983cbf2ff31aed530898de2d80e4573d5
name_to_dev_t() must not call __init code

The function can't be __init itself (being called from some sysfs
handler), and hence none of the functions it calls can be either.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts.c