sandbox: only do sandboxfs for hostfs interface
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 13 Apr 2015 20:54:19 +0000 (22:54 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 19 Apr 2015 20:45:56 +0000 (14:45 -0600)
commit85300a9a9dfb364ab1a5f94e6d3f9e558a193be1
treeca8099a081fa42f00c317ba8b3668bb0919c1da2
parentb8d7652c81689a69bc6eaa206cf875bbe632831c
sandbox: only do sandboxfs for hostfs interface

Only do sandbox filesystem access when using the hostfs device
interface, rather then falling back to it in all cases. This prevents
confusion situations due to the fallback being taken rather then an
unsupported error being raised.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
fs/sandbox/sandboxfs.c