attr cleanups

Christoph Hellwig
2014-05-03T15:18:06Z

A couple random cleanups for the attr code that I had sitting in my tree
for a long time.