mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
gpfswrap: Make pathname "const char *" in gpfswrap_set_winattrs_path()
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
91be03a780
commit
27a725f455
@ -28,7 +28,8 @@ static int (*gpfs_putacl_fn)(const char *pathname, int flags, void *acl);
|
||||
static int (*gpfs_get_realfilename_path_fn)(const char *pathname,
|
||||
char *filenamep,
|
||||
int *len);
|
||||
static int (*gpfs_set_winattrs_path_fn)(char *pathname, int flags,
|
||||
static int (*gpfs_set_winattrs_path_fn)(const char *pathname,
|
||||
int flags,
|
||||
struct gpfs_winattr *attrs);
|
||||
static int (*gpfs_set_winattrs_fn)(int fd, int flags,
|
||||
struct gpfs_winattr *attrs);
|
||||
@ -137,7 +138,8 @@ int gpfswrap_get_realfilename_path(const char *pathname,
|
||||
return gpfs_get_realfilename_path_fn(pathname, filenamep, len);
|
||||
}
|
||||
|
||||
int gpfswrap_set_winattrs_path(char *pathname, int flags,
|
||||
int gpfswrap_set_winattrs_path(const char *pathname,
|
||||
int flags,
|
||||
struct gpfs_winattr *attrs)
|
||||
{
|
||||
if (gpfs_set_winattrs_path_fn == NULL) {
|
||||
|
@ -34,7 +34,8 @@ int gpfswrap_putacl(const char *pathname, int flags, void *acl);
|
||||
int gpfswrap_get_realfilename_path(const char *pathname,
|
||||
char *filenamep,
|
||||
int *len);
|
||||
int gpfswrap_set_winattrs_path(char *pathname, int flags,
|
||||
int gpfswrap_set_winattrs_path(const char *pathname,
|
||||
int flags,
|
||||
struct gpfs_winattr *attrs);
|
||||
int gpfswrap_set_winattrs(int fd, int flags, struct gpfs_winattr *attrs);
|
||||
int gpfswrap_get_winattrs_path(char *pathname, struct gpfs_winattr *attrs);
|
||||
|
Loading…
Reference in New Issue
Block a user