Whamcloud - gitweb
make lu_fid const value in mdo_name_insert()
authortappro <tappro>
Sun, 7 May 2006 14:09:09 +0000 (14:09 +0000)
committertappro <tappro>
Sun, 7 May 2006 14:09:09 +0000 (14:09 +0000)
lustre/include/linux/md_object.h

index 190b270..0744125 100644 (file)
@@ -83,7 +83,7 @@ struct md_dir_operations {
         
         /* partial ops for cross-ref case */
         int (*mdo_name_insert)(struct lu_context *, struct md_object *,
-                               const char *name, struct lu_fid *,
+                               const char *name, const struct lu_fid *,
                                struct lu_attr *);
         int (*mdo_name_remove)(struct lu_context *, struct md_object *,
                                const char *name, struct lu_attr *);