diff options
author | Steve French <sfrench@us.ibm.com> | 2009-03-04 14:54:08 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-03-11 21:36:21 -0400 |
commit | 64cc2c63694a03393985ffc8b178e72f52dd8a06 (patch) | |
tree | 819161cd3f6b4268b5ff21dfb0c427496134fef5 /fs/cifs/CHANGES | |
parent | 276a74a4835ad86d6da42f3a084b060afc5656e8 (diff) |
[CIFS] work around bug in Samba server handling for posix open
Samba server (version 3.3.1 and earlier, and 3.2.8 and earlier) incorrectly
required the O_CREAT flag on posix open (even when a file was not being
created). This disables posix open (create is still ok) after the first
attempt returns EINVAL (and logs an error, once, recommending that they
update their server).
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/CHANGES')
-rw-r--r-- | fs/cifs/CHANGES | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index b33c8412e2c8..fc977dfe9593 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -11,6 +11,8 @@ to better ensure that we wait for server to write all of the data to | |||
11 | server disk (not just write it over the network). Add new mount | 11 | server disk (not just write it over the network). Add new mount |
12 | parameter to allow user to disable sending the (slow) SMB flush on | 12 | parameter to allow user to disable sending the (slow) SMB flush on |
13 | fsync if desired (fsync still flushes all cached write data to the server). | 13 | fsync if desired (fsync still flushes all cached write data to the server). |
14 | Posix file open support added (turned off after one attempt if server | ||
15 | fails to support it properly, as with Samba server versions prior to 3.3.2) | ||
14 | 16 | ||
15 | Version 1.56 | 17 | Version 1.56 |
16 | ------------ | 18 | ------------ |