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
LU-6401 headers: Move functions out of lustre_idl.h
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_lib.c
diff --git
a/lustre/mdt/mdt_lib.c
b/lustre/mdt/mdt_lib.c
index
de68b11
..
12cf245
100644
(file)
--- a/
lustre/mdt/mdt_lib.c
+++ b/
lustre/mdt/mdt_lib.c
@@
-62,6
+62,11
@@
typedef enum ucred_init_type {
REC_INIT = 2
} ucred_init_type_t;
REC_INIT = 2
} ucred_init_type_t;
+static __u64 get_mrc_cr_flags(struct mdt_rec_create *mrc)
+{
+ return (__u64)(mrc->cr_flags_l) | ((__u64)mrc->cr_flags_h << 32);
+}
+
void mdt_exit_ucred(struct mdt_thread_info *info)
{
struct lu_ucred *uc = mdt_ucred(info);
void mdt_exit_ucred(struct mdt_thread_info *info)
{
struct lu_ucred *uc = mdt_ucred(info);