X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fnrs_tbf.c;h=5d37c527dff0b292c806cd8cf9b6e6550aa22be4;hb=refs%2Fchanges%2F30%2F9130%2F2;hp=eb5d955beb3660524ec3be62e99f1e101fd3d9b3;hpb=81e27655e4c9a04b04b2c704bf57754566feaa49;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/nrs_tbf.c b/lustre/ptlrpc/nrs_tbf.c index eb5d955..5d37c52 100644 --- a/lustre/ptlrpc/nrs_tbf.c +++ b/lustre/ptlrpc/nrs_tbf.c @@ -1211,7 +1211,7 @@ int nrs_tbf_ctl(struct ptlrpc_nrs_policy *policy, enum ptlrpc_nrs_ctl opc, LASSERT(spin_is_locked(&policy->pol_nrs->nrs_lock)); - switch (opc) { + switch ((enum nrs_ctl_tbf)opc) { default: RETURN(-EINVAL);