Skip to content

Commit cdc346b

Browse files
sergey-senozhatskytorvalds
authored andcommitted
mm/zsmalloc.c: include fs.h
`struct file_system_type' and alloc_anon_inode() function are defined in fs.h, include it directly. Link: http://lkml.kernel.org/r/20171219104219.3017-1-sergey.senozhatsky@gmail.com Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 152a2d1 commit cdc346b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎mm/zsmalloc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#include <linux/mount.h>
5454
#include <linux/migrate.h>
5555
#include <linux/pagemap.h>
56+
#include <linux/fs.h>
5657

5758
#define ZSPAGE_MAGIC 0x58
5859

0 commit comments

Comments
 (0)