]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac6f2775691b629208d32e012a056a3534a6c1be
tree5fecd62174f58a5457d54a14fbc705d297fcd0b1
parent8bac9074200caf10ac7c8a304cd4f82e4672ab35
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