[PATCH] smbumount problem

Colin Leroy colin at savoirweb.com
Mon Oct 21 21:58:00 GMT 2002


On Mon, 21 Oct 2002 21:45:11 +0200 (CEST) Urban Widmark
<urban at teststation.com> wrote:

Hi,

> > smbumount kept telling me that "You are not allowed to unmount
> > $share". This was because of the ioctl used, which was setting
> > mount_uid to a really strange result.
> > 
> > Here's a patch that fixes it, at least for me (on a 2.4.18 kernel).
> > That's a patch against 2.2.6 tarball.
> 
> The proper fix is to do both. Old kernels don't have this ioctl. That 
> changes was meant to be in 2.2.6 but ...

Ok, so I guess that's not really important to have it in CVS then ;-)
I would have sent a patch with both tests, but I removed the source from
my hd, I'm running low on space, sorry...

> I assume this is not on x86? Otherwise it should be fine as it is, even
> if it is limited to 16 bits.

Yes, it's on powerpc.

Regards,
-- 
Colin
panic("CPU too expensive - making holiday in the ANDES!");
    2.2.19 linux/arch/mips/kernel/traps.c



More information about the samba-technical mailing list