diff options
| author | 2026-05-13 13:19:15 -0700 | |
|---|---|---|
| committer | 2026-05-21 11:16:09 -0500 | |
| commit | dcd4313f0987d69c4134c12bbe3a8cdf795f6c1e (patch) | |
| tree | dcb93846e6f507044784ad347651a83a9e47883e /include/linux/reset/ssh:/git@git.zx2c4.com | |
| parent | smb: client: require net admin for CIFS SWN netlink (diff) | |
smb: client: change allocation requirements in DUP_CTX_STR macro
Currently, the macro DUP_CTX_STR allocates new_ctx->field using
GFP_ATOMIC. DUP_CTX_STR is only used in smb3_fs_context_dup(), which
is never called in an atomic context. Using GFP_ATOMIC puts unnecessary
pressure on emergency memory pools.
Change GFP_ATOMIC to GFP_KERNEL.
Signed-off-by: Fredric Cover <fredric.cover.lkernel@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/reset/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
