OSDN Git Service

init: export name_to_dev_t and mark name argument as const
authorDan Ehrenberg <dehrenberg@chromium.org>
Tue, 10 Feb 2015 23:20:49 +0000 (15:20 -0800)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Apr 2015 16:10:18 +0000 (12:10 -0400)
commite6e20a7a5f3f49bfee518d5c6849107398d83912
tree5fecd62174f58a5457d54a14fbc705d297fcd0b1
parent17e149b8f73ba116e71e25930dd6f2eb3828792d
init: export name_to_dev_t and mark name argument as const

DM will switch its device lookup code to using name_to_dev_t() so it
must be exported.  Also, the @name argument should be marked const.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
include/linux/mount.h
init/do_mounts.c