]> git.sur5r.net Git - bacula/bacula/commit
Add additional ACL flags for restore.
authorMarco van Wieringen <mvw@planets.elm.net>
Fri, 16 Sep 2011 12:50:32 +0000 (14:50 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Fri, 16 Sep 2011 19:44:37 +0000 (21:44 +0200)
commit8f116f49b51163149b5c3fa587945b448f73f95b
tree10c1489a1d59189eee1d5be555748aa286fd742e
parent131b9475aa84109c5dc029f6ecc743ad617fe91b
Add additional ACL flags for restore.

When we now encounter a restore error for an ACL due to the
fact ACL support is not enabled on a filesystem we clear
the BACL_FLAG_RESTORE_NATIVE flag so we don't try any other
restores of ACLs on the same filesystem. This saves us a
lot of overhead while we know if one fails due to no support
all the others will too. We do count the errors so the restore
report will show how many ACLs couldn't be restored. This same
algoritm is already implemented for saving ACLs.
bacula/src/filed/acl.c
bacula/src/filed/acl.h