diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-07-29 21:36:10 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-08-30 00:45:22 +0300 |
commit | d75e490f35601aae12c7284d3c22684c65fb8354 (patch) | |
tree | 7a9f1a8996cf13f70d8f9329d3a92fbeabf21850 /fs/nfs | |
parent | a6b4ec39036fd78b95205eef3be121454b7d2973 (diff) | |
download | linux-d75e490f35601aae12c7284d3c22684c65fb8354.tar.xz |
SUNRPC: change svc_xprt::xpt_flags bits to enum
When a sequence of numbers are needed for internal-use only, an enum is
typically best. The sequence will inevitably need to be changed one
day, and having an enum means the developer doesn't need to think about
renumbering after insertion or deletion. Such patches will be easier
to review.
Suggested-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions