s3: smbd: Reformat definition and callers of can_delete_file_in_directory().
[gd/samba-autobuild/.git] / source3 / smbd / file_access.c
index 2e114e965908c3d3301a0332a42d15c8a73ada59..6c4f38b6a9cf612d8b0913b7ade8b042221fbff0 100644 (file)
@@ -33,7 +33,7 @@
 ****************************************************************************/
 
 bool can_delete_file_in_directory(connection_struct *conn,
-                                 const struct smb_filename *smb_fname)
+                       const struct smb_filename *smb_fname)
 {
        TALLOC_CTX *ctx = talloc_tos();
        struct smb_filename *smb_fname_parent = NULL;
@@ -141,6 +141,7 @@ bool can_write_to_file(connection_struct *conn,
 ****************************************************************************/
 
 bool directory_has_default_acl(connection_struct *conn,
+               struct files_struct *dirfsp,
                struct smb_filename *smb_fname)
 {
        struct security_descriptor *secdesc = NULL;