pstore: Create a convenient mount point for pstore
authorJosh Boyer <jwboyer@redhat.com>
Tue, 12 Feb 2013 21:07:22 +0000 (13:07 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 12 Feb 2013 21:07:22 +0000 (13:07 -0800)
commitfb0af3f2b1b613e5ea75426d454c7e5b1d1eef49
tree2ef5fd07b1684073d1b0d2fea0466e38466f92a8
parenta93bc0c6e07ed9bac44700280e65e2945d864fd4
pstore: Create a convenient mount point for pstore

Using /dev/pstore as a mount point for the pstore filesystem is slightly
awkward.  We don't normally mount filesystems in /dev/ and the /dev/pstore
file isn't created automatically by anything.  While this method will
still work, we can create a persistent mount point in sysfs.  This will
put pstore on par with things like cgroups and efivarfs.

Signed-off-by: Josh Boyer <jwboyer@redhat.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Documentation/ABI/testing/pstore
fs/pstore/inode.c