[linux-cifs-client] [CIFS] [PATCH] warn on EINVAL error on posix open, and turn off posix open if server broken for this call

simo idra at samba.org
Wed Mar 4 19:24:30 GMT 2009


On Wed, 2009-03-04 at 13:02 -0600, Steve French wrote:
> Attached is patch to workaround the problem found in posix open to
> Samba versions 3.3.1 and earlier
> (create works, but open would fail with invalid parameter) - it
> disables requests to try posix open after
> a first failure.

Why do you completely disable posix opens ?
Wouldn't it make sense to reopen only when it fails ?
After all when you create new files it works correctly.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the linux-cifs-client mailing list