[lvm-devel] [PATCH 02/11] Add 'writeable' field to columns.h
Alasdair G Kergon
agk at redhat.com
Thu Aug 19 14:33:27 UTC 2010
On Wed, Aug 18, 2010 at 09:51:53AM -0400, Dave Wysochanski wrote:
> + * 10. Writeable field. If the field is writeable, a 'set' function must be
> + * defined.
Let's do this like we did in args.h with a flags field, to reduce the churn
if we decide to add more properties.
10. Flags.
FIELD_MODIFIABLE. A '_set' function exists to change the field's value.
The function name is derived in a similar way to item 7 above.
Alasdair
More information about the lvm-devel
mailing list