vfs: Add helper function for non posix ACL modules