X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ffid%2Ffid_request.c;h=a8ca08733fd78933ad274e96d3feaa1108686971;hp=93f6402a122325dad02077503feaf3ac4a7fe118;hb=7404a3e355eeed661c6ee669c05d9e6a24ed592f;hpb=e2ac6e1eaa108eef3493837e9bd881629582ea1d diff --git a/lustre/fid/fid_request.c b/lustre/fid/fid_request.c index 93f6402..a8ca087 100644 --- a/lustre/fid/fid_request.c +++ b/lustre/fid/fid_request.c @@ -178,13 +178,13 @@ int seq_client_alloc_super(struct lu_client_seq *seq, static int seq_client_alloc_meta(const struct lu_env *env, struct lu_client_seq *seq) { - int rc; - ENTRY; + int rc; + ENTRY; - if (seq->lcs_srv) { + if (seq->lcs_srv) { #ifdef HAVE_SEQ_SERVER - LASSERT(env != NULL); - rc = seq_server_alloc_meta(seq->lcs_srv, &seq->lcs_space, env); + LASSERT(env); + rc = seq_server_alloc_meta(seq->lcs_srv, &seq->lcs_space, env); #else rc = 0; #endif @@ -208,9 +208,9 @@ static int seq_client_alloc_meta(const struct lu_env *env, l_wait_event(waitq, 0, &lwi); } } while (rc == -EINPROGRESS || rc == -EAGAIN); - } + } - RETURN(rc); + RETURN(rc); } /* Allocate new sequence for client. */