* [PATCH] NFSD: remove NLM_F_MULTI flag in nfsd_genl_rpc_status_compose_msg
@ 2023-10-05 9:38 Lorenzo Bianconi
2023-10-05 12:33 ` Chuck Lever
0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2023-10-05 9:38 UTC (permalink / raw)
To: linux-nfs; +Cc: lorenzo.bianconi, jlayton, neilb, chuck.lever, netdev, kuba
Get rid of unnecessary NLM_F_MULTI flag in nfsd_genl_rpc_status_compose_msg
routine
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
fs/nfsd/nfsctl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index b71744e355a8..739ed5bf71cd 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -1527,8 +1527,7 @@ static int nfsd_genl_rpc_status_compose_msg(struct sk_buff *skb,
u32 i;
hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
- &nfsd_nl_family, NLM_F_MULTI,
- NFSD_CMD_RPC_STATUS_GET);
+ &nfsd_nl_family, 0, NFSD_CMD_RPC_STATUS_GET);
if (!hdr)
return -ENOBUFS;
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NFSD: remove NLM_F_MULTI flag in nfsd_genl_rpc_status_compose_msg
2023-10-05 9:38 [PATCH] NFSD: remove NLM_F_MULTI flag in nfsd_genl_rpc_status_compose_msg Lorenzo Bianconi
@ 2023-10-05 12:33 ` Chuck Lever
0 siblings, 0 replies; 2+ messages in thread
From: Chuck Lever @ 2023-10-05 12:33 UTC (permalink / raw)
To: Lorenzo Bianconi
Cc: linux-nfs, lorenzo.bianconi, jlayton, neilb, netdev, kuba
On Thu, Oct 05, 2023 at 11:38:17AM +0200, Lorenzo Bianconi wrote:
> Get rid of unnecessary NLM_F_MULTI flag in nfsd_genl_rpc_status_compose_msg
> routine
>
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
> fs/nfsd/nfsctl.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Squashed. Thanks!
> diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
> index b71744e355a8..739ed5bf71cd 100644
> --- a/fs/nfsd/nfsctl.c
> +++ b/fs/nfsd/nfsctl.c
> @@ -1527,8 +1527,7 @@ static int nfsd_genl_rpc_status_compose_msg(struct sk_buff *skb,
> u32 i;
>
> hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
> - &nfsd_nl_family, NLM_F_MULTI,
> - NFSD_CMD_RPC_STATUS_GET);
> + &nfsd_nl_family, 0, NFSD_CMD_RPC_STATUS_GET);
> if (!hdr)
> return -ENOBUFS;
>
> --
> 2.41.0
>
--
Chuck Lever
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-05 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 9:38 [PATCH] NFSD: remove NLM_F_MULTI flag in nfsd_genl_rpc_status_compose_msg Lorenzo Bianconi
2023-10-05 12:33 ` Chuck Lever
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.