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

Shirish Pargaonkar shirishpargaonkar at gmail.com
Wed Mar 4 19:29:38 GMT 2009


On Wed, Mar 4, 2009 at 1:02 PM, Steve French <smfrench at gmail.com> 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.
>
>
>
> --
> Thanks,
>
> Steve
>
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>
>

Steve,

I think I will have to apply similar logic in cifs_lookup for lookup
intents i.e. when
cifs_posix_open fails with the same return code, follow the usual lookup path, I
do not have to disable posix opens though as Simo said.
Would be wasting a transaction in the process though in case of samba servers
that have this problem.

Regards,

Shirish


More information about the samba-technical mailing list