Commit 35fc37d5 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

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: default avatarSteve French <sfrench@us.ibm.com>
parent e10f7b55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment