]> sourceware.org Git - lvm2.git/commit
Rename fields in lvm_property_type.
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 21 Oct 2010 14:49:43 +0000 (14:49 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Thu, 21 Oct 2010 14:49:43 +0000 (14:49 +0000)
commit60fc088d7033c85bc393a271b4d9572f2018ff88
tree996c41b0d77d9faba136dc23a0273d107d58b4b7
parentd53d92f2e1475aba0841f9d221ed3a83a12a8a92
Rename fields in lvm_property_type.

Based on review comments, rename a few fields in lvm_property_type.
In particular, change 'is_writeable' to 'is_settable', which is
more intuitive to the intent of the bitfield (a 'set' function
exists for this field/property).  Also, remove the char array
for 'id' - unnecessary as we can just use the string passed in
to do the strcmp.  Finally rename the union members from n_val
to 'integer' and 's_val' to 'string'.
lib/report/properties.c
lib/report/properties.h
This page took 0.031901 seconds and 5 git commands to generate.