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:
8718b59
)
minor build fix for smfs
author
wangdi
<wangdi>
Thu, 12 Aug 2004 04:24:12 +0000
(
04:24
+0000)
committer
wangdi
<wangdi>
Thu, 12 Aug 2004 04:24:12 +0000
(
04:24
+0000)
lustre/include/linux/lustre_smfs.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_smfs.h
b/lustre/include/linux/lustre_smfs.h
index
fd5e7f2
..
a534162
100644
(file)
--- a/
lustre/include/linux/lustre_smfs.h
+++ b/
lustre/include/linux/lustre_smfs.h
@@
-402,7
+402,8
@@
static inline int smfs_get_dentry_name_index(struct dentry *dentry,
static inline void smfs_free_dentry_name(struct qstr *str)
{
- OBD_FREE(str->name, str->len + 1);
+ char *name = (char*)str->name;
+ OBD_FREE(name, str->len + 1);
}
static inline struct dentry *pre_smfs_dentry(struct dentry *parent_dentry,