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-5478 style: get rid of seqno_t and mdsno_t typedefs
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_capa.c
diff --git
a/lustre/mdt/mdt_capa.c
b/lustre/mdt/mdt_capa.c
index
ee316d7
..
e1c52ee
100644
(file)
--- a/
lustre/mdt/mdt_capa.c
+++ b/
lustre/mdt/mdt_capa.c
@@
-49,8
+49,7
@@
static inline void set_capa_key_expiry(struct mdt_device *mdt)
mdt->mdt_ck_expiry = jiffies + mdt->mdt_ck_timeout * HZ;
}
mdt->mdt_ck_expiry = jiffies + mdt->mdt_ck_timeout * HZ;
}
-static void make_capa_key(struct lustre_capa_key *key,
- mdsno_t mdsnum, int keyid)
+static void make_capa_key(struct lustre_capa_key *key, u32 mdsnum, int keyid)
{
key->lk_seq = mdsnum;
key->lk_keyid = keyid + 1;
{
key->lk_seq = mdsnum;
key->lk_keyid = keyid + 1;
@@
-150,7
+149,7
@@
int mdt_capa_keys_init(const struct lu_env *env, struct mdt_device *mdt)
struct mdt_thread_info *mti;
struct dt_object *obj;
struct lu_attr *la;
struct mdt_thread_info *mti;
struct dt_object *obj;
struct lu_attr *la;
-
mdsno_t
mdsnum;
+
u32
mdsnum;
unsigned long size;
int rc;
ENTRY;
unsigned long size;
int rc;
ENTRY;
@@
-215,7
+214,7
@@
static int mdt_ck_thread_main(void *args)
struct mdt_thread_info *info;
struct md_device *next;
struct l_wait_info lwi = { 0 };
struct mdt_thread_info *info;
struct md_device *next;
struct l_wait_info lwi = { 0 };
-
mdsno_t
mdsnum;
+
u32
mdsnum;
int rc;
ENTRY;
int rc;
ENTRY;