From: Andreas Schwab <schwab@suse.de>
To: Eric Paris <eparis@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] correct flags to f_mode conversion in __dentry_open
Date: Wed, 12 Mar 2008 19:47:33 +0100 [thread overview]
Message-ID: <je1w6fpynu.fsf@sykes.suse.de> (raw)
In-Reply-To: <1205346327.5297.232.camel@localhost.localdomain> (Eric Paris's message of "Wed\, 12 Mar 2008 14\:25\:27 -0400")
Eric Paris <eparis@redhat.com> writes:
> Notice that 3 == (O_RDWR | O_WRONLY)
Note that O_RDWR and O_WRONLY are not simple flags, but two possible
values of a 2-bit field (O_ACCMODE). Thus it does not makes sense to
add them together.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2008-03-12 18:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-12 18:25 Eric Paris
2008-03-12 18:34 ` Al Viro
2008-03-12 18:41 ` Eric Paris
2008-03-12 18:47 ` Andreas Schwab [this message]
2008-03-15 21:59 ` Alan Cox
2008-03-15 22:00 ` Alexander Viro
2008-03-17 10:45 ` Christoph Hellwig
2008-05-21 17:54 ` Michael Kerrisk
2008-05-22 2:10 ` James Morris
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=je1w6fpynu.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=eparis@redhat.com \
--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
Powered by JetHome