mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
![Marc-André Lureau](/assets/img/avatar_default.png)
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>
15 lines
204 B
Bash
Executable file
15 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
|