Commit 5b62f404 authored by Tom Rini's avatar Tom Rini Committed by Linus Torvalds

[PATCH] Fix building of samba userland

After 2.6.8.1, samba userland would no longer build with current
kernel headers, as it needs some of the samba kernel headers to work,
yet they included <linux/fs.h> outside of __KERNEL__.
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 44185861
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <linux/smb.h> #include <linux/smb.h>
#include <linux/smb_fs_i.h> #include <linux/smb_fs_i.h>
#include <linux/smb_fs_sb.h> #include <linux/smb_fs_sb.h>
#include <linux/fs.h>
/* /*
* ioctl commands * ioctl commands
...@@ -26,6 +25,7 @@ ...@@ -26,6 +25,7 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/fs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/smb_mount.h> #include <linux/smb_mount.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment