diff -r 74babc0082b7 -r 50505dc3f8a6 src/server/daemon/vfs.c --- a/src/server/daemon/vfs.c Sun May 26 12:12:07 2013 +0200 +++ b/src/server/daemon/vfs.c Sun May 26 22:05:41 2013 +0200 @@ -411,10 +411,10 @@ } int sys_acl_check(VFSContext *ctx, uint32_t access_mask, SysACL *sysacl) { + if(sysacl) { + sysacl->acl = NULL; + } if(!ctx) { - if(sysacl) { - sysacl->acl = NULL; - } return 0; }