Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Constify instances of struct {lu,dt,md}_device_operations.
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_internal.h
diff --git
a/lustre/mdt/mdt_internal.h
b/lustre/mdt/mdt_internal.h
index
ead3bfb
..
4ddbf7c
100644
(file)
--- a/
lustre/mdt/mdt_internal.h
+++ b/
lustre/mdt/mdt_internal.h
@@
-402,7
+402,8
@@
static inline void mdt_trans_add_cb(const struct thandle *th,
txi->txi_cb_count++;
}
-static inline struct md_device_operations *mdt_child_ops(struct mdt_device * m)
+static inline const struct md_device_operations *
+mdt_child_ops(struct mdt_device * m)
{
LASSERT(m->mdt_child);
return m->mdt_child->md_ops;