diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-01-31 16:19:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-31 17:18:39 -0800 |
commit | 5aadc431a593ac1f3a026dfbceaa16cc4d5e15ca (patch) | |
tree | 2e5f690366177b3b09be1595dc5a9e55f99a9fe8 /fs/fcntl.c | |
parent | e9d586a8217882eb4068e3ed94a5234ba6dead34 (diff) | |
download | linux-riscv-5aadc431a593ac1f3a026dfbceaa16cc4d5e15ca.tar.gz linux-riscv-5aadc431a593ac1f3a026dfbceaa16cc4d5e15ca.tar.bz2 linux-riscv-5aadc431a593ac1f3a026dfbceaa16cc4d5e15ca.zip |
shmem: rename functions that are memfd-related
Those functions are called for memfd files, backed by shmem or hugetlb
(the next patches will handle hugetlb).
Link: http://lkml.kernel.org/r/20171107122800.25517-3-marcandre.lureau@redhat.com
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.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>
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r-- | fs/fcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index c7b9e0948107..e95fa0a352ea 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -418,7 +418,7 @@ static long do_fcntl(int fd, unsigned int cmd, unsigned long arg, break; case F_ADD_SEALS: case F_GET_SEALS: - err = shmem_fcntl(filp, cmd, arg); + err = memfd_fcntl(filp, cmd, arg); break; case F_GET_RW_HINT: case F_SET_RW_HINT: |