mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
gpfswrap: Make pathname "const char *" in gpfswrap_putacl()
Update wrapper function to match the definition in gpfs.h. Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com> Reviewed-by: Christof Schmitt <cs@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
3630ae2208
commit
4833f17335
@ -24,7 +24,7 @@
|
||||
static int (*gpfs_set_share_fn)(int fd, unsigned int allow, unsigned int deny);
|
||||
static int (*gpfs_set_lease_fn)(int fd, unsigned int type);
|
||||
static int (*gpfs_getacl_fn)(const char *pathname, int flags, void *acl);
|
||||
static int (*gpfs_putacl_fn)(char *pathname, int flags, void *acl);
|
||||
static int (*gpfs_putacl_fn)(const char *pathname, int flags, void *acl);
|
||||
static int (*gpfs_get_realfilename_path_fn)(char *pathname, char *filenamep,
|
||||
int *len);
|
||||
static int (*gpfs_set_winattrs_path_fn)(char *pathname, int flags,
|
||||
@ -114,7 +114,7 @@ int gpfswrap_getacl(const char *pathname, int flags, void *acl)
|
||||
return gpfs_getacl_fn(pathname, flags, acl);
|
||||
}
|
||||
|
||||
int gpfswrap_putacl(char *pathname, int flags, void *acl)
|
||||
int gpfswrap_putacl(const char *pathname, int flags, void *acl)
|
||||
{
|
||||
if (gpfs_putacl_fn == NULL) {
|
||||
errno = ENOSYS;
|
||||
|
@ -30,7 +30,7 @@ int gpfswrap_init(void);
|
||||
int gpfswrap_set_share(int fd, unsigned int allow, unsigned int deny);
|
||||
int gpfswrap_set_lease(int fd, unsigned int type);
|
||||
int gpfswrap_getacl(const char *pathname, int flags, void *acl);
|
||||
int gpfswrap_putacl(char *pathname, int flags, void *acl);
|
||||
int gpfswrap_putacl(const char *pathname, int flags, void *acl);
|
||||
int gpfswrap_get_realfilename_path(char *pathname, char *filenamep, int *len);
|
||||
int gpfswrap_set_winattrs_path(char *pathname, int flags,
|
||||
struct gpfs_winattr *attrs);
|
||||
|
Loading…
Reference in New Issue
Block a user