diff options
| author | Tom Rini <trini@kernel.crashing.org> | 2004-11-07 04:10:19 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-07 04:10:19 -0800 |
| commit | 5b62f4042372118f6fd1b501daccbded4d19a20b (patch) | |
| tree | 6f9fc94ba86f1013ee6a39491208ff4e23fcbede /include | |
| parent | 44185861c7d4ea3c6e21c748400a0e0148499c1f (diff) | |
[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: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/smb_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/smb_fs.h b/include/linux/smb_fs.h index c776bcd95b7a..c4153120ade6 100644 --- a/include/linux/smb_fs.h +++ b/include/linux/smb_fs.h @@ -12,7 +12,6 @@ #include <linux/smb.h> #include <linux/smb_fs_i.h> #include <linux/smb_fs_sb.h> -#include <linux/fs.h> /* * ioctl commands @@ -26,6 +25,7 @@ #ifdef __KERNEL__ +#include <linux/fs.h> #include <linux/pagemap.h> #include <linux/vmalloc.h> #include <linux/smb_mount.h> |
