]> git.sur5r.net Git - bacula/bacula/commit
New overhaul of xattr code.
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 5 Jun 2012 16:43:25 +0000 (18:43 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Tue, 5 Jun 2012 16:43:25 +0000 (18:43 +0200)
commitfd3a4425c1f9029afb9843b433e5f01098683303
tree1fda56db38952d21435aa43101dd5debaea8e9ec
parent11aa8a8ce8ef220e3f30a8e2418b7632a95c0aa1
New overhaul of xattr code.

Delay allocation to last minute when we are mostly sure we can
save a real xattr and we only need to get the actual value of it.
This way we don't have to free data on strange code paths. Also
made most functions have one exit point so things are more clean.
bacula/src/filed/xattr.c