diff options
| author | Arnd Bergmann <[email protected]> | 2019-07-16 23:25:51 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-17 02:23:21 +0000 |
| commit | e5f2249ab8538feb86ba844fea87974c1973f63f (patch) | |
| tree | d409bfc21488d9439778d4cbed566054d0e2fd2d /lib/mpi/longlong.h | |
| parent | mm/z3fold: don't try to use buddy slots after free (diff) | |
| download | kernel-e5f2249ab8538feb86ba844fea87974c1973f63f.tar.gz kernel-e5f2249ab8538feb86ba844fea87974c1973f63f.zip | |
mm/shmem.c: fix unused shmem_parse_huge() function warning
When CONFIG_SYSFS is disabled but CONFIG_TMPFS is enabled, we get a
warning about shmem_parse_huge() never being called:
mm/shmem.c:417:12: error: unused function 'shmem_parse_huge' [-Werror,-Wunused-function]
static int shmem_parse_huge(const char *str)
Change the #ifdef so we no longer build this function in that configuration.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 144df3b288c4 ("vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API")
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: David Howells <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Vineeth Remanan Pillai <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/longlong.h')
0 files changed, 0 insertions, 0 deletions
