Messages in this thread Patch in this message | | | From | Sergey Senozhatsky <> | Subject | [PATCH] zsmalloc: add fs.h include | Date | Tue, 19 Dec 2017 19:42:19 +0900 |
| |
`struct file_system_type' and alloc_anon_inode() function are defined in fs.h, include it directly.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> --- mm/zsmalloc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 685049a9048d..683c0651098c 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -53,6 +53,7 @@ #include <linux/mount.h> #include <linux/migrate.h> #include <linux/pagemap.h> +#include <linux/fs.h> #define ZSPAGE_MAGIC 0x58 -- 2.15.1
| |