git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
smb_fs.h
diff --git
a/include/linux/smb_fs.h
b/include/linux/smb_fs.h
index
621a3d3
..
13b3af5
100644
(file)
--- a/
include/linux/smb_fs.h
+++ b/
include/linux/smb_fs.h
@@
-10,8
+10,6
@@
#define _LINUX_SMB_FS_H
#include <linux/smb.h>
#define _LINUX_SMB_FS_H
#include <linux/smb.h>
-#include <linux/smb_fs_i.h>
-#include <linux/smb_fs_sb.h>
/*
* ioctl commands
/*
* ioctl commands
@@
-24,6
+22,8
@@
#ifdef __KERNEL__
#ifdef __KERNEL__
+#include <linux/smb_fs_i.h>
+#include <linux/smb_fs_sb.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
@@
-43,17
+43,17
@@
static inline struct smb_inode_info *SMB_I(struct inode *inode)
/* macro names are short for word, double-word, long value (?) */
#define WVAL(buf,pos) \
/* macro names are short for word, double-word, long value (?) */
#define WVAL(buf,pos) \
- (le16_to_cpu(get_unaligned((
u
16 *)((u8 *)(buf) + (pos)))))
+ (le16_to_cpu(get_unaligned((
__le
16 *)((u8 *)(buf) + (pos)))))
#define DVAL(buf,pos) \
#define DVAL(buf,pos) \
- (le32_to_cpu(get_unaligned((
u
32 *)((u8 *)(buf) + (pos)))))
+ (le32_to_cpu(get_unaligned((
__le
32 *)((u8 *)(buf) + (pos)))))
#define LVAL(buf,pos) \
#define LVAL(buf,pos) \
- (le64_to_cpu(get_unaligned((
u
64 *)((u8 *)(buf) + (pos)))))
+ (le64_to_cpu(get_unaligned((
__le
64 *)((u8 *)(buf) + (pos)))))
#define WSET(buf,pos,val) \
#define WSET(buf,pos,val) \
- put_unaligned(cpu_to_le16((u16)(val)), (
u
16 *)((u8 *)(buf) + (pos)))
+ put_unaligned(cpu_to_le16((u16)(val)), (
__le
16 *)((u8 *)(buf) + (pos)))
#define DSET(buf,pos,val) \
#define DSET(buf,pos,val) \
- put_unaligned(cpu_to_le32((u32)(val)), (
u
32 *)((u8 *)(buf) + (pos)))
+ put_unaligned(cpu_to_le32((u32)(val)), (
__le
32 *)((u8 *)(buf) + (pos)))
#define LSET(buf,pos,val) \
#define LSET(buf,pos,val) \
- put_unaligned(cpu_to_le64((u64)(val)), (
u
64 *)((u8 *)(buf) + (pos)))
+ put_unaligned(cpu_to_le64((u64)(val)), (
__le
64 *)((u8 *)(buf) + (pos)))
/* where to find the base of the SMB packet proper */
#define smb_base(buf) ((u8 *)(((u8 *)(buf))+4))
/* where to find the base of the SMB packet proper */
#define smb_base(buf) ((u8 *)(((u8 *)(buf))+4))