Arnd Bergmann
e5f2249ab8
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/20190712091141.673355-1-arnd@arndb.de
Fixes: 144df3b288c4 ("vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Hugh Dickins <hughd@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Howells <dhowells@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Vineeth Remanan Pillai <vpillai@digitalocean.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-07-16 19:23:21 -07:00
..
2019-07-12 11:05:42 -07:00
2019-06-03 15:49:07 +02:00
2019-06-09 09:11:21 +02:00
2019-07-12 12:24:03 -07:00
2019-05-14 09:47:45 -07:00
2019-05-24 17:37:54 +02:00
2017-11-02 11:10:55 +01:00
2019-06-01 15:51:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-14 19:52:47 -07:00
2019-07-12 11:05:46 -07:00
2017-12-11 14:54:44 +01:00
2018-08-30 20:01:32 +02:00
2019-07-12 11:05:43 -07:00
2019-07-12 11:05:43 -07:00
2017-12-14 16:00:48 -08:00
2019-06-19 17:09:52 +02:00
2019-05-14 09:47:45 -07:00
2019-07-14 19:42:11 -07:00
2018-12-28 12:11:47 -08:00
2019-07-14 19:42:11 -07:00
2019-07-05 19:55:18 -07:00
2018-06-07 17:34:35 -07:00
2019-06-29 16:43:45 +08:00
2019-06-03 15:39:40 +02:00
2018-07-17 09:35:30 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:08 +02:00
2019-07-14 19:42:11 -07:00
2019-07-12 11:05:43 -07:00
2019-07-05 19:55:18 -07:00
2019-06-05 17:37:06 +02:00
2019-07-12 12:24:03 -07:00
2019-06-19 17:09:52 +02:00
2019-07-12 11:05:44 -07:00
2019-05-21 10:50:45 +02:00
2019-07-02 14:32:43 -03:00
2019-07-14 19:42:11 -07:00
2019-05-30 11:26:32 -07:00
2019-07-14 19:42:11 -07:00
2019-07-05 19:55:18 -07:00
2019-07-02 14:32:44 -03:00
2019-07-14 19:42:11 -07:00
2019-07-14 19:42:11 -07:00
2019-07-02 14:32:44 -03:00
2019-03-05 21:07:20 -08:00
2017-11-02 11:10:55 +01:00
2019-07-14 19:42:11 -07:00
2019-07-12 11:05:43 -07:00
2019-06-13 17:34:56 -10:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2017-03-02 08:42:38 +01:00
2019-06-13 17:34:56 -10:00
2019-07-12 11:05:46 -07:00
2017-11-02 11:10:55 +01:00
2019-05-14 09:47:51 -07:00
2019-05-14 09:47:49 -07:00
2017-11-02 11:10:55 +01:00
2019-07-12 11:05:47 -07:00
2019-07-12 11:05:47 -07:00
2019-07-14 19:42:11 -07:00
2018-06-07 17:34:36 -07:00
2019-07-12 11:05:43 -07:00
2019-06-29 16:43:45 +08:00
2019-07-12 11:05:43 -07:00
2019-07-12 11:05:43 -07:00
2019-04-29 12:37:50 +02:00
2019-03-05 21:07:13 -08:00
2018-10-31 08:54:11 -07:00
2019-07-12 11:05:42 -07:00
2018-04-05 21:36:27 -07:00
2019-03-13 12:25:31 -07:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2019-06-05 17:37:16 +02:00
2018-10-09 16:51:11 +02:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2019-05-14 09:47:49 -07:00
2019-06-05 17:37:17 +02:00
2019-07-16 19:23:21 -07:00
2019-05-14 19:52:48 -07:00
2019-05-14 19:52:48 -07:00
2019-07-12 11:05:44 -07:00
2019-07-12 11:05:46 -07:00
2019-07-12 11:05:46 -07:00
2019-07-12 11:05:42 -07:00
2019-07-12 11:05:46 -07:00
2018-10-31 08:54:16 -07:00
2019-05-14 09:47:48 -07:00
2017-11-02 11:10:55 +01:00
2018-08-22 10:52:44 -07:00
2019-07-12 11:05:43 -07:00
2019-07-02 14:32:43 -03:00
2019-07-12 11:05:43 -07:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:53 +02:00
2019-07-12 11:05:45 -07:00
2018-09-13 15:18:04 -10:00
2019-07-12 11:05:47 -07:00
2019-06-19 17:09:55 +02:00
2019-07-12 11:05:46 -07:00
2019-05-21 10:50:45 +02:00
2019-05-14 19:52:53 -07:00
2019-07-16 19:23:21 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-06-05 16:36:49 +02:00
2019-06-03 15:39:39 +02:00