]> git.karo-electronics.de Git - karo-tx-linux.git/commit
POSIX extensions disabled on client due to illegal O_EXCL flag sent to Samba
authorSteve French <sfrench@us.ibm.com>
Mon, 18 Feb 2013 16:34:26 +0000 (10:34 -0600)
committerSteve French <sfrench@us.ibm.com>
Tue, 19 Feb 2013 01:39:54 +0000 (19:39 -0600)
commit86810e7c889c51aaa93e6ebd6f4a093a3e7997f1
tree28619ea8f2f15d29179ceafe5d3adbbea878a0b2
parent87eadfbc5f0af23c8b6c30063eb1f67452b38bae
POSIX extensions disabled on client due to illegal O_EXCL flag sent to Samba

Samba rejected libreoffice's attempt to open a file with illegal
O_EXCL (without O_CREAT).  Mask this flag off (as the local
linux file system case does) for this case, so that we
don't have disable Unix Extensions unnecessarily due to
the Samba error (Samba server is also being fixed).

See https://bugzilla.samba.org/show_bug.cgi?id=9519

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c