Prior to code changes in seq_client_alloc_meta, make indents
consistently tabs, and change "env != NULL" to "env"
Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Change-Id: If72d737f843a5f6e56ef82aabb7a779b358f4382
Reviewed-on: https://review.whamcloud.com/35963
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
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
l_wait_event(waitq, 0, &lwi);
}
} while (rc == -EINPROGRESS || rc == -EAGAIN);
- }
+ }
- RETURN(rc);
+ RETURN(rc);
}
/* Allocate new sequence for client. */