Ignore:
Timestamp:
May 24, 2009, 7:55:48 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/modules/vfs_gpfs.c

    r223 r224  
    342342                (smb_get_naces(smbacl)-1)*sizeof(gpfs_ace_v4_t);
    343343
    344         gacl = TALLOC_SIZE(mem_ctx, gacl_len);
     344        gacl = (struct gpfs_acl *)TALLOC_SIZE(mem_ctx, gacl_len);
    345345        if (gacl == NULL) {
    346346                DEBUG(0, ("talloc failed\n"));
     
    557557}
    558558
    559 SMB_ACL_T gpfsacl_sys_acl_get_file(vfs_handle_struct *handle,
    560                                     const char *path_p,
    561                                     SMB_ACL_TYPE_T type)
     559static SMB_ACL_T gpfsacl_sys_acl_get_file(vfs_handle_struct *handle,
     560                                          const char *path_p,
     561                                          SMB_ACL_TYPE_T type)
    562562{
    563563        gpfs_aclType_t gpfs_type;
     
    578578}
    579579
    580 SMB_ACL_T gpfsacl_sys_acl_get_fd(vfs_handle_struct *handle,
    581                                  files_struct *fsp)
     580static SMB_ACL_T gpfsacl_sys_acl_get_fd(vfs_handle_struct *handle,
     581                                        files_struct *fsp)
    582582{
    583583        return gpfsacl_get_posix_acl(fsp->fsp_name, GPFS_ACL_TYPE_ACCESS);
     
    601601                (pacl->count)*sizeof(gpfs_ace_v1_t);
    602602
    603         result = SMB_MALLOC(len);
     603        result = (struct gpfs_acl *)SMB_MALLOC(len);
    604604        if (result == NULL) {
    605605                errno = ENOMEM;
     
    671671}
    672672
    673 int gpfsacl_sys_acl_set_file(vfs_handle_struct *handle,
    674                               const char *name,
    675                               SMB_ACL_TYPE_T type,
    676                               SMB_ACL_T theacl)
     673static int gpfsacl_sys_acl_set_file(vfs_handle_struct *handle,
     674                                    const char *name,
     675                                    SMB_ACL_TYPE_T type,
     676                                    SMB_ACL_T theacl)
    677677{
    678678        struct gpfs_acl *gpfs_acl;
     
    690690}
    691691
    692 int gpfsacl_sys_acl_set_fd(vfs_handle_struct *handle,
    693                             files_struct *fsp,
    694                             SMB_ACL_T theacl)
     692static int gpfsacl_sys_acl_set_fd(vfs_handle_struct *handle,
     693                                  files_struct *fsp,
     694                                  SMB_ACL_T theacl)
    695695{
    696696        return gpfsacl_sys_acl_set_file(handle, fsp->fsp_name, SMB_ACL_TYPE_ACCESS, theacl);
    697697}
    698698
    699 int gpfsacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
    700                                      const char *path)
     699static int gpfsacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
     700                                           const char *path)
    701701{
    702702        errno = ENOTSUP;
Note: See TracChangeset for help on using the changeset viewer.