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:
6ea5a36
)
lu_object_fid(): return const as fid is immutable after object creation
author
nikita
<nikita>
Wed, 3 May 2006 18:25:16 +0000
(18:25 +0000)
committer
nikita
<nikita>
Wed, 3 May 2006 18:25:16 +0000
(18:25 +0000)
lustre/include/linux/lu_object.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lu_object.h
b/lustre/include/linux/lu_object.h
index
a77794f
..
c2f1773
100644
(file)
--- a/
lustre/include/linux/lu_object.h
+++ b/
lustre/include/linux/lu_object.h
@@
-612,7
+612,7
@@
static inline struct lu_object *lu_object_next(const struct lu_object *o)
/*
* Pointer to the fid of this object.
*/
-static inline struct lu_fid *lu_object_fid(const struct lu_object *o)
+static inline
const
struct lu_fid *lu_object_fid(const struct lu_object *o)
{
return &o->lo_header->loh_fid;
}