Whamcloud - gitweb
LU-8066 obdclass: don't copy ops structures in to new type.
[fs/lustre-release.git] / lustre / ofd / ofd_internal.h
index 779aea5..8f6a70e 100644 (file)
@@ -288,7 +288,7 @@ int ofd_fiemap_get(const struct lu_env *env, struct ofd_device *ofd,
                   struct lu_fid *fid, struct fiemap *fiemap);
 
 /* ofd_obd.c */
-extern struct obd_ops ofd_obd_ops;
+extern const struct obd_ops ofd_obd_ops;
 int ofd_destroy_by_fid(const struct lu_env *env, struct ofd_device *ofd,
                       const struct lu_fid *fid, int orphan);
 int ofd_statfs(const struct lu_env *env,  struct obd_export *exp,