void afs_setmaxquota(char *path, int32_t maxquota)
afs_setmaxquota(char *path, int32_t maxquota)
void afs_setmaxquota(char *path, int32_t maxquota){    struct ViceIoctl a_params;    struct VolumeStatus *vs;    int insize;    a_params.in_size=0;    a_params.out_size=MAXSIZE;    a_params.in=NULL;    a_params.out=malloc(MAXSIZE);    if (a_params.out == NULL) {	printf ("fs: Out of memory\n");	return;    }    /* Read the old volume status */    if(k_pioctl(path,VIOCGETVOLSTAT,&a_params,1)==-1) {	fserr(PROGNAME, errno, path);	free(a_params.out);	return;    }    insize=sizeof(struct VolumeStatus)+strlen(path)+2;    a_params.in_size=MAXSIZE<insize?MAXSIZE:insize;    a_params.out_size=0;    a_params.in=a_params.out;    a_params.out=NULL;      vs=(struct VolumeStatus *) a_params.in;    vs->MaxQuota=maxquota;    if(k_pioctl(path,VIOCSETVOLSTAT,&a_params,1)==-1) {	fserr(PROGNAME, errno, path);	free(a_params.in);	return;    }    free(a_params.in);}