Re: patch for 2.1.118 smbfs

peloy@ven.ra.rockwell.com
28 Aug 1998 20:11:25 GMT


Bill Hawes <whawes@transmeta.com> wrote:

> I found a w95 machine on the network here and confirmed the problem with
> w95 directory listings, and have attached a patch to fix things up.
>
> The fix is very simple: just use the old-style getattr, as the trans2
> getattr doesn't seem to work with w95. This can be turned on via the
> SMB_FIX_OLDATTR runtime flag, but the patch makes this automatic when
> the w95 bugfixes are enabled. So compiling with the W95 config option or
> using the -f 1xxx runtime flag will enable the workaround.

Hey Bill, you are the man!!! You don't know how long I had waited to
see this nasty bug hammered! It is working fine now :-)

By the way, when listing a NT directory that is smb-mounted, I get
this error in the kernel log when listing the NT page file:

smb_lookup: find //pagefile.sys failed, error=-26

(this is a kernel message).

ls says "pagefile.sys: text file busy".

This looks like a bug. I am not trying to do anything with that
file, just list it.

Regards,

peloy.-

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html