From: Jeff Layton Date: Wed, 14 May 2008 17:22:03 +0000 (-0700) Subject: add function to convert access flags to legacy open mode X-Git-Tag: v2.6.26-rc4~89^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35fc37d5175091c36d034a28c057da0f9594ee7e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed