summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2024-09-24 16:39:29 +0300
committerSteve French <stfrench@microsoft.com>2024-09-26 05:33:19 +0300
commit8e2f6a0e2dc9db663b4ba2225822e7a3c4047bfb (patch)
tree588d66ae752bbddabea44189a94c164d61082e35 /rust/helpers/build_bug.c
parentd782d6e1d9078d6b82f8468dd6421050165e7d75 (diff)
downloadlinux-8e2f6a0e2dc9db663b4ba2225822e7a3c4047bfb.tar.xz
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/build_bug.c')
0 files changed, 0 insertions, 0 deletions