Skip to contentSkip to conversation

zsmalloc: add fs.h include

PATCH Applied Sergey Senozhatsky 1 participant 1 message Dec 19, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zsmalloc: add fs.h include

`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 +1 -0
index 685049a9048d..683c0651098c 100644
@@ -53,6 +53,7 @@
 #include <linux/mount.h>
 #include <linux/migrate.h>
 #include <linux/pagemap.h>
+#include <linux/fs.h>
 
 #define ZSPAGE_MAGIC	0x58
 
Signature · 7 lines
2.15.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>