mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-22 18:22:42 +00:00
add function to convert access flags to legacy open mode
SMBLegacyOpen always opens a file as r/w. This could be problematic for files with ATTR_READONLY set. Have it interpret the access_mode into a sane open mode. Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
e10f7b551d
commit
35fc37d517
2 changed files with 16 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue