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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
include
/
lclient.h
diff --git
a/lustre/include/lclient.h
b/lustre/include/lclient.h
index
2eb2425
..
8b86063
100644
(file)
--- a/
lustre/include/lclient.h
+++ b/
lustre/include/lclient.h
@@
-136,6
+136,13
@@
static inline struct ccc_thread_info *ccc_env_info(const struct lu_env *env)
return info;
}
+static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env)
+{
+ struct cl_attr *attr = &ccc_env_info(env)->cti_attr;
+ memset(attr, 0, sizeof(*attr));
+ return attr;
+}
+
struct ccc_session {
struct ccc_io cs_ios;
};