Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13b3c3
)
Branch b1_4
author
adilger
<adilger>
Fri, 19 Aug 2005 03:48:55 +0000
(
03:48
+0000)
committer
adilger
<adilger>
Fri, 19 Aug 2005 03:48:55 +0000
(
03:48
+0000)
Quiet compiler warning for liblustre.
lustre/liblustre/llite_lib.h
patch
|
blob
|
history
diff --git
a/lustre/liblustre/llite_lib.h
b/lustre/liblustre/llite_lib.h
index
0aeae7a
..
3cfc29f
100644
(file)
--- a/
lustre/liblustre/llite_lib.h
+++ b/
lustre/liblustre/llite_lib.h
@@
-113,11
+113,11
@@
static inline int llu_is_root_inode(struct inode *inode)
do { \
struct lookup_intent *temp; \
LASSERT(llu_i2info(inode)->lli_it == NULL); \
-
OBD_ALLOC(temp, sizeof(*temp)); \
+ OBD_ALLOC(temp, sizeof(*temp)); \
memcpy(temp, it, sizeof(*temp)); \
llu_i2info(inode)->lli_it = temp; \
CDEBUG(D_DENTRY, "alloc intent %p to inode %p(ino %llu)\n", \
- temp, inode,
llu_i2stat(inode)->st_ino);
\
+ temp, inode,
(long long)llu_i2stat(inode)->st_ino);
\
} while(0)