diff options
author | 2024-09-24 22:39:29 +0900 | |
---|---|---|
committer | 2024-09-25 21:33:19 -0500 | |
commit | 8e2f6a0e2dc9db663b4ba2225822e7a3c4047bfb (patch) | |
tree | 588d66ae752bbddabea44189a94c164d61082e35 /rust/helpers/workqueue.c | |
parent | ksmbd: remove unsafe_memcpy use in session setup (diff) | |
download | wireguard-linux-8e2f6a0e2dc9db663b4ba2225822e7a3c4047bfb.tar.xz wireguard-linux-8e2f6a0e2dc9db663b4ba2225822e7a3c4047bfb.zip |
ksmbd: fix open failure from block and char device file
char/block device file can't be opened with dentry_open() if device driver
is not loaded. Use O_PATH flags for fake opening file to handle it if file
is a block or char file.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions