libafs: api to create and free vattrs
authorMichael Meffie <mmeffie@sinenomine.net>
Sun, 18 May 2014 21:17:38 +0000 (17:17 -0400)
committerD Brashear <shadow@your-file-system.com>
Sat, 31 May 2014 11:33:23 +0000 (07:33 -0400)
commit9630c075409a262424805411ed473178814b412c
treeff8a138e296e71900c20655bc69b4e1f85f61343
parentf66c467bdd7182eb80ede3b9faa5f5ae5231632f
libafs: api to create and free vattrs

Add a pair of functions to allocate and free struct vattrs,
to avoid having struct vattrs on the stack.

Change-Id: Ia5a148ebcdf8a2f1e3a2aa9d8fd3c0e0cd0e25e9
Reviewed-on: http://gerrit.openafs.org/11169
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/afs/VNOPS/afs_vnop_attrs.c
src/afs/afs_prototypes.h