mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 16:36:43 +07:00
c5c63835e5
Link: http://lkml.kernel.org/r/20171107122800.25517-10-marcandre.lureau@redhat.com Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Suggested-by: Mike Kravetz <mike.kravetz@oracle.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 lines
204 B
Bash
Executable File
16 lines
204 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
if test -d "./mnt" ; then
|
|
fusermount -u ./mnt
|
|
rmdir ./mnt
|
|
fi
|
|
|
|
set -e
|
|
|
|
mkdir mnt
|
|
./fuse_mnt ./mnt
|
|
./fuse_test ./mnt/memfd $@
|
|
fusermount -u ./mnt
|
|
rmdir ./mnt
|