diff options
author | Nathan Scott <nathans@sgi.com> | 2006-01-10 23:33:02 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-01-10 23:33:02 -0500 |
commit | 3ddb8fa98ccce6c3b2afd2f4b95a10b3bb60d1f0 (patch) | |
tree | b0dcd39ac52092cb66c022b2ec86bee27dda6a64 /fs/xfs/xfs_arch.h | |
parent | a255a7456d4051e804fd6efff9a7c0f43483a7fc (diff) |
[XFS] Sort out cosmetic differences between user and kernel copies of some
sources.
SGI-PV: 907752
SGI-Modid: xfs-linux-melb:xfs-kern:24659a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_arch.h')
-rw-r--r-- | fs/xfs/xfs_arch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_arch.h b/fs/xfs/xfs_arch.h index f1aeda599eb1..71de20cedb5c 100644 --- a/fs/xfs/xfs_arch.h +++ b/fs/xfs/xfs_arch.h | |||
@@ -202,7 +202,7 @@ static inline void be64_add(__be64 *a, __s64 b) | |||
202 | */ | 202 | */ |
203 | 203 | ||
204 | #define XFS_GET_DIR_INO4(di) \ | 204 | #define XFS_GET_DIR_INO4(di) \ |
205 | (((u32)(di).i[0] << 24) | ((di).i[1] << 16) | ((di).i[2] << 8) | ((di).i[3])) | 205 | (((__u32)(di).i[0] << 24) | ((di).i[1] << 16) | ((di).i[2] << 8) | ((di).i[3])) |
206 | 206 | ||
207 | #define XFS_PUT_DIR_INO4(from, di) \ | 207 | #define XFS_PUT_DIR_INO4(from, di) \ |
208 | do { \ | 208 | do { \ |
@@ -213,9 +213,9 @@ do { \ | |||
213 | } while (0) | 213 | } while (0) |
214 | 214 | ||
215 | #define XFS_DI_HI(di) \ | 215 | #define XFS_DI_HI(di) \ |
216 | (((u32)(di).i[1] << 16) | ((di).i[2] << 8) | ((di).i[3])) | 216 | (((__u32)(di).i[1] << 16) | ((di).i[2] << 8) | ((di).i[3])) |
217 | #define XFS_DI_LO(di) \ | 217 | #define XFS_DI_LO(di) \ |
218 | (((u32)(di).i[4] << 24) | ((di).i[5] << 16) | ((di).i[6] << 8) | ((di).i[7])) | 218 | (((__u32)(di).i[4] << 24) | ((di).i[5] << 16) | ((di).i[6] << 8) | ((di).i[7])) |
219 | 219 | ||
220 | #define XFS_GET_DIR_INO8(di) \ | 220 | #define XFS_GET_DIR_INO8(di) \ |
221 | (((xfs_ino_t)XFS_DI_LO(di) & 0xffffffffULL) | \ | 221 | (((xfs_ino_t)XFS_DI_LO(di) & 0xffffffffULL) | \ |