login
Header Space

 
 

Re: [RFC] correct flags to f_mode conversion in __dentry_open

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Paris <eparis@...>
Cc: <linux-kernel@...>
Date: Wednesday, March 12, 2008 - 2:47 pm

Eric Paris <eparis@redhat.com> writes:


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."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] correct flags to f_mode conversion in __dentry_open, Andreas Schwab, (Wed Mar 12, 2:47 pm)
Re: [RFC] correct flags to f_mode conversion in __dentry_open, Christoph Hellwig, (Mon Mar 17, 6:45 am)
speck-geostationary