I applied the patch, but it doesn't work.
I confirm that there is a EBADSLT here. When I disable the share I got ( and
I also check via errno )
"ls: .: Invalid slot"
Tried to change
if (!status || (is_smbfs && sav_errno == EIO )) {
with
if (!status || (is_smbfs && ( sav_errno == EIO || sav_errno == EBADSLT ) ))
{
and it works.
Amodiovalerio [Hypo] Verde
> > I've solved the problem ( I hope ) just forcing the umount when the
fstat
> > fails cause of errno like EBADSLT ( that's what I got when the share is
not
> > more available ).
>
> I don't see the EBADSLT here. I see an EIO.
>
> >
> > Maybe it's safe to umount the dir without doing a fstat at all.
>
> Don't like that much. The lstat probably causes smbfs to return EIO
> instead of EBADSLT.
>
> If you are keen, please try this patch and let me know how you go.
>
> Ian
_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs