add function to convert access flags to legacy open mode
authorJeff Layton <jlayton@redhat.com>
Wed, 14 May 2008 17:22:03 +0000 (10:22 -0700)
committerSteve French <sfrench@us.ibm.com>
Wed, 14 May 2008 18:45:30 +0000 (18:45 +0000)
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>

No differences found