diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-09-24 22:39:29 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-09-25 21:33:19 -0500 |
commit | 8e2f6a0e2dc9db663b4ba2225822e7a3c4047bfb (patch) | |
tree | 588d66ae752bbddabea44189a94c164d61082e35 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | d782d6e1d9078d6b82f8468dd6421050165e7d75 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions