From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Jan Hudec <bulb@cimice.maxinet.cz>
Cc: bulb@vagabond.cybernet.cz, bulb@cimice.maxinet.cz,
linux-kernel@vger.kernel.org
Subject: Re: Question about leases
Date: Tue, 27 Aug 2002 22:16:18 +1000 [thread overview]
Message-ID: <20020827221618.5c7d0b46.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20020827084244.GA23077@vagabond>
Hi Jan,
On Tue, 27 Aug 2002 10:42:44 +0200 Jan Hudec <bulb@cimice.maxinet.cz> wrote:
>
> One more question. Does the siginfo contain information weather is's
> read or write that the other process attempted? And does it contain the
No, you need to do fcntl(fd, F_GETLEASE) to find out what kind of
lease you need to set to satisfy the other process i.e. if the other
process does an open for reading then GETLEASE will return F_RDLCK
and if they attempt an open for writing the GETLEASE will return F_UNLCK.
> operation type for directory notifications?
No, sorry.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
prev parent reply other threads:[~2002-08-27 12:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-27 1:06 Jan Hudec
2002-08-27 4:35 ` Stephen Rothwell
2002-08-27 4:44 ` Stephen Rothwell
2002-09-02 11:29 ` Michael Kerrisk
2002-08-27 8:42 ` Jan Hudec
2002-08-27 12:16 ` Stephen Rothwell [this message]
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=20020827221618.5c7d0b46.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=bulb@cimice.maxinet.cz \
--cc=bulb@vagabond.cybernet.cz \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®