diff options
author | Tristan Schmelcher <tschmelcher@google.com> | 2013-11-11 13:03:06 -0500 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2014-04-20 17:10:44 -0400 |
commit | 0d71832e3004a0833938cc28a096823cd55b8e79 (patch) | |
tree | b0079baf0cee87629cf68bd3cb2e1570a7565bf7 /arch/um/Kconfig.debug | |
parent | a798c10faf62a505d24e5f6213fbaf904a39623f (diff) |
uml: Simplify tempdir logic.
Inferring the mount hierarchy correctly from /proc/mounts is hard when MS_MOVE
may have been used, and the previous code did it wrongly. This change simplifies
the logic to only require that /dev/shm be _on_ tmpfs (which can be checked
trivially with statfs) rather than that it be a _mountpoint_ of tmpfs, since
there isn't a compelling reason to be that strict. We also now check for tmpfs
on whatever directory we ultimately use so that the user is better informed.
This change also moves the more standard TMPDIR environment variable check ahead
of the others.
Applies to 3.12.
Signed-off-by: Tristan Schmelcher <tschmelcher@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions