com_addatt: Minor improvements.
authorAndre Noll <maan@systemlinux.org>
Sun, 25 Nov 2007 22:28:09 +0000 (23:28 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 25 Nov 2007 22:28:09 +0000 (23:28 +0100)
commit35d6655e0f4c1b1040d0546b33cd5aabf37e08bb
tree31446b4ed7e478e16d483d3cb7c6ac6f9aeb052d
parent501982498f53af38da7e7372670f1ed1886deac9
com_addatt: Minor improvements.

- Use get_attribute_bitnum_by_name() instead of open-coding.
- Use new error code E_ATT_TABLE_FULL.
- Move definition of objs[ATTCOL_NAME] down to where it is needed.
- Kill FIXME comment: We can not use find_greatest_att_bitnum() here.
attribute.c