Skip to contentSkip to conversation

mm/zsmalloc.c: include fs.h

PATCH New [email protected] 1 participant 1 message Jan 5, 2018

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 6/9 mm/zsmalloc.c: include fs.h

From: Sergey Senozhatsky <[email protected]>
Subject: mm/zsmalloc.c: include fs.h

`struct file_system_type' and alloc_anon_inode() function are defined in fs.h, include it directly.

---

 mm/zsmalloc.c |    1 +
 1 file changed, 1 insertion(+)
mm/zsmalloc.c renamed from mm/zsmalloc.c~zsmalloc-add-fsh-include +1 -0
diff -puN mm/zsmalloc.c~zsmalloc-add-fsh-include 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
 

_