Re: [PATCH 4/6] autofs4 - make autofs type usage explicit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Moyer
Date: Tuesday, October 28, 2008 - 6:24 am

Andrew Morton <akpm@linux-foundation.org> writes:


Just for some background, I requested a change here.  The reason is that
I ran into problems in the user space daemon where there was this notion
of a bitfield that wasn't always treated as a bitfield.  So
AUTOFS_TYPE_ANY should be all bits set, right?  Nope.  Some places in
the code tested with binary operators, others with ==.  It was confusing
and error-prone.  The accessor functions at least normalize the interface.

Cheers,

Jeff
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 5/6] autofs4 - improve parameter usage, Ian Kent, (Wed Oct 22, 7:35 pm)
Re: [PATCH 2/6] autofs4 - remove string terminator check, Andrew Morton, (Mon Oct 27, 1:31 pm)
Re: [PATCH 4/6] autofs4 - make autofs type usage explicit, Andrew Morton, (Mon Oct 27, 1:40 pm)
Re: [PATCH 2/6] autofs4 - remove string terminator check, Andrew Morton, (Mon Oct 27, 5:55 pm)
Re: [PATCH 4/6] autofs4 - make autofs type usage explicit, Jeff Moyer, (Tue Oct 28, 6:24 am)