From dcfe15685a134ef26fafe4b6c743f144abca131a Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 3 May 2006 18:25:16 +0000 Subject: [PATCH] lu_object_fid(): return const as fid is immutable after object creation --- lustre/include/linux/lu_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/linux/lu_object.h b/lustre/include/linux/lu_object.h index a77794f..c2f17735 100644 --- 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; } -- 1.8.3.1