efivarfs: Move to fs/efivarfs
authorMatt Fleming <matt.fleming@intel.com>
Fri, 8 Feb 2013 16:27:24 +0000 (16:27 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 17 Apr 2013 12:25:09 +0000 (13:25 +0100)
commitd68772b7c83f4b518be15ae96f4827c8ed02f684
treeb3408a750976edf6e0b62bfce3e26d1c9685a907
parent048517722cde2595a7366d0c3c72b8b1ec142a9c
efivarfs: Move to fs/efivarfs

Now that efivarfs uses the efivar API, move it out of efivars.c and
into fs/efivarfs where it belongs. This move will eventually allow us
to enable the efivarfs code without having to also enable
CONFIG_EFI_VARS built, and vice versa.

Furthermore, things like,

    mount -t efivarfs none /sys/firmware/efi/efivars

will now work if efivarfs is built as a module without requiring the
use of MODULE_ALIAS(), which would have been necessary when the
efivarfs code was part of efivars.c.

Cc: Matthew Garrett <matthew.garrett@nebula.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
Reviewed-by: Tom Gundersen <teg@jklm.no>
Tested-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
MAINTAINERS
drivers/firmware/efivars.c
fs/Kconfig
fs/Makefile
fs/efivarfs/Kconfig [new file with mode: 0644]
fs/efivarfs/Makefile [new file with mode: 0644]
fs/efivarfs/file.c [new file with mode: 0644]
fs/efivarfs/inode.c [new file with mode: 0644]
fs/efivarfs/internal.h [new file with mode: 0644]
fs/efivarfs/super.c [new file with mode: 0644]