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
/
fid
/
fid_request.c
diff --git
a/lustre/fid/fid_request.c
b/lustre/fid/fid_request.c
index
3d8a401
..
520cc63
100644
(file)
--- a/
lustre/fid/fid_request.c
+++ b/
lustre/fid/fid_request.c
@@
-208,7
+208,7
@@
static int seq_client_alloc_meta(const struct lu_env *env,
/* Allocate new sequence for client. */
static int seq_client_alloc_seq(const struct lu_env *env,
/* Allocate new sequence for client. */
static int seq_client_alloc_seq(const struct lu_env *env,
-
struct lu_client_seq *seq, seqno_t
*seqnr)
+
struct lu_client_seq *seq, u64
*seqnr)
{
int rc;
ENTRY;
{
int rc;
ENTRY;
@@
-271,7
+271,7
@@
static void seq_fid_alloc_fini(struct lu_client_seq *seq)
* Allocate the whole seq to the caller.
**/
int seq_client_get_seq(const struct lu_env *env,
* Allocate the whole seq to the caller.
**/
int seq_client_get_seq(const struct lu_env *env,
- struct lu_client_seq *seq,
seqno_t
*seqnr)
+ struct lu_client_seq *seq,
u64
*seqnr)
{
wait_queue_t link;
int rc;
{
wait_queue_t link;
int rc;
@@
-336,7
+336,7
@@
int seq_client_alloc_fid(const struct lu_env *env,
seq->lcs_fid.f_oid = seq->lcs_width;
while (1) {
seq->lcs_fid.f_oid = seq->lcs_width;
while (1) {
-
seqno_t
seqnr;
+
u64
seqnr;
if (!fid_is_zero(&seq->lcs_fid) &&
fid_oid(&seq->lcs_fid) < seq->lcs_width) {
if (!fid_is_zero(&seq->lcs_fid) &&
fid_oid(&seq->lcs_fid) < seq->lcs_width) {