From: Stephen Lee <splee@plexio.com>
To: Sergey Suleymanov <solt@eatpbank.ru>
Cc: Linux-MSDOS Mailing list <linux-msdos@vger.kernel.org>
Subject: Re: Samba and kernel oplocks
Date: 28 Aug 2002 23:56:29 -0700 [thread overview]
Message-ID: <1030604190.19139.121.camel@ralph.plexio.private> (raw)
In-Reply-To: <87sn0ydw1t.fsf@eatpbank.ru>
On Wed, 2002-08-28 at 23:21, Sergey Suleymanov wrote:
> Well, I'm just try locks with samba, and it seems work.
> oplocks = no in smb.conf and this hack to mfs.c
>
> --- src/dosext/mfs/mfs.c.orig Thu Aug 29 10:09:33 2002
> +++ src/dosext/mfs/mfs.c Thu Aug 29 10:08:31 2002
> @@ -3823,11 +3823,16 @@
> the top two bits are set. Shift the top ones by two bits. This
> still allows OLE2 apps to operate, but should stop lockd from
> dieing */
> +#if 0
> if ((larg.l_start & mask) != 0)
> larg.l_start = (larg.l_start & ~mask) | ((larg.l_start & mask) >> 2);
> +#else
> + larg.l_start &= 0x7fffffff;
> +#endif
> ret = fcntl (fd,F_SETLK,&larg);
> Debug0((dbg_fd, "lock fd=%x rc=%x type=%x whence=%x start=%lx, len=%lx\n",
> fd, ret, larg.l_type, larg.l_whence, larg.l_start,larg.l_len));
> + if (ret == -1) SETWORD(&(state->eax), ACCESS_DENIED);
> return ret != -1 ? TRUE : FALSE;
> }
> break;
>
Which version of Dosemu is the above patch applied against? 1.1.3 or
1.1.3.2. I am using 1.1.3.2 with the keybard patches.
Thanks,
Stephen
next prev parent reply other threads:[~2002-08-29 6:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-27 22:55 Samba and kernel oplocks Stephen Lee
2002-08-28 13:14 ` Anderson Pereira Ataides
2002-08-28 22:30 ` Stephen Lee
2002-08-29 6:21 ` Sergey Suleymanov
2002-08-29 6:56 ` Stephen Lee [this message]
2002-08-29 7:18 ` Sergey Suleymanov
2002-08-29 17:21 ` Stephen Lee
2002-08-29 17:28 ` Bart Oldeman
2002-08-29 17:57 ` Stephen Lee
2002-09-02 23:08 ` Samba and kernel oplocks - Solved Stephen Lee
2002-09-11 8:58 ` Samba and kernel oplocks - Solved???? Uwe Feldtmann
2002-08-29 4:39 ` Samba and kernel oplocks - Smbmount Stephen Lee
2002-08-29 14:39 ` Oscar A. Valdez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1030604190.19139.121.camel@ralph.plexio.private \
--to=splee@plexio.com \
--cc=linux-msdos@vger.kernel.org \
--cc=solt@eatpbank.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox