1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Fix bug #6876 for acl_tdb module.

As pointed out by bj@sernet.de, the rmdir module initializer was
duplicated. Fix this properly.

Jeremy.
This commit is contained in:
Jeremy Allison 2010-02-08 11:04:38 -08:00
parent 9b5198dd44
commit e425162933

View File

@ -299,7 +299,7 @@ static int rmdir_acl_tdb(vfs_handle_struct *handle, const char *path)
return -1;
}
ret = SMB_VFS_NEXT_RMDIR(handle, path);
ret = rmdir_acl_common(handle, path);
if (ret == -1) {
return -1;
}
@ -413,7 +413,6 @@ static struct vfs_fn_pointers vfs_acl_tdb_fns = {
.connect_fn = connect_acl_tdb,
.opendir = opendir_acl_common,
.mkdir = mkdir_acl_common,
.rmdir = rmdir_acl_common,
.open = open_acl_common,
.create_file = create_file_acl_common,
.unlink = unlink_acl_tdb,