diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-10-25 17:50:37 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-10-25 17:50:37 +0000 |
commit | f86e328d324d4d67ab4db4a89ef6239c8978bb87 (patch) | |
tree | 28de4193a16dba0b8edf8501e044a7f3d2e654d4 | |
parent | f11a9f19b298e7d6dfa102275207e1b7c90aaff0 (diff) | |
download | src-f86e328d324d.tar.gz src-f86e328d324d.zip |
p9fs: Fix whitespace in request tag handling functions
No functional change intended.
Sponsored by: Klara, Inc.
-rw-r--r-- | sys/fs/p9fs/p9_client.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/fs/p9fs/p9_client.c b/sys/fs/p9fs/p9_client.c index 8f36cc4e775a..45d24870306c 100644 --- a/sys/fs/p9fs/p9_client.c +++ b/sys/fs/p9fs/p9_client.c @@ -380,16 +380,16 @@ out: uint16_t p9_tag_create(struct p9_client *clnt) { - int tag; + int tag; - tag = alloc_unr(&clnt->tagpool); - P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); + tag = alloc_unr(&clnt->tagpool); + P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); - /* Alloc_unr returning -1 is an error for no units left */ - if (tag == -1) { - return (P9_NOTAG); - } - return (tag); + /* Alloc_unr returning -1 is an error for no units left */ + if (tag == -1) { + return (P9_NOTAG); + } + return (tag); } /* Clean up tag structures */ @@ -397,10 +397,10 @@ void p9_tag_destroy(struct p9_client *clnt, uint16_t tag) { - P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); + P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); - /* Release to the pool */ - free_unr(&clnt->tagpool, tag); + /* Release to the pool */ + free_unr(&clnt->tagpool, tag); } /* Allocate a new fid from the fidpool */ |