vfs_gpfs: Fix compile error in gpfsacl_sys_acl_set_fd
authorChristof Schmitt <cs@samba.org>
Fri, 2 Jun 2017 23:16:16 +0000 (16:16 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 3 Jun 2017 03:52:32 +0000 (05:52 +0200)
commitb6201407a346a376e215f4303e55bbdf8febd5df
treea4406bb74885a63b2c4b876bea92b54b71b8e623
parent1f4b07e5942235bddcfa999b3575f719752d81c4
vfs_gpfs: Fix compile error in gpfsacl_sys_acl_set_fd

../source3/modules/vfs_gpfs.c: In function ‘gpfsacl_sys_acl_set_fd’:
../source3/modules/vfs_gpfs.c:1280:6: error: passing argument 2 of ‘gpfsacl_sys_acl_set_file’ from incompatible pointer type [-Werror]
      SMB_ACL_TYPE_ACCESS, theacl);
      ^
../source3/modules/vfs_gpfs.c:1235:12: note: expected ‘const struct smb_filename *’ but argument is of type ‘char *’
 static int gpfsacl_sys_acl_set_file(vfs_handle_struct *handle,

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jun  3 05:52:32 CEST 2017 on sn-devel-144
source3/modules/vfs_gpfs.c