diff options
Diffstat (limited to 'fs/smb/client')
| -rw-r--r-- | fs/smb/client/smbdirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/smbdirect.c b/fs/smb/client/smbdirect.c index 77f36d68621b..c79304012b08 100644 --- a/fs/smb/client/smbdirect.c +++ b/fs/smb/client/smbdirect.c @@ -2806,7 +2806,7 @@ static int allocate_mr_list(struct smbdirect_socket *sc) } mr->sgt.sgl = kzalloc_objs(struct scatterlist, - sp->max_frmr_depth, GFP_KERNEL); + sp->max_frmr_depth); if (!mr->sgt.sgl) { ret = -ENOMEM; log_rdma_mr(ERR, "failed to allocate sgl\n"); |
