Searched refs:mountdata (Results 1 – 1 of 1) sorted by relevance
142 char *mountdata = NULL; in cifs_compose_mount_options() local193 mountdata = kzalloc(md_len + sizeof("ip=") + 1, GFP_KERNEL); in cifs_compose_mount_options()194 if (mountdata == NULL) { in cifs_compose_mount_options()203 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options()230 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options()233 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options()234 mountdata[md_len] = '\0'; in cifs_compose_mount_options()237 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options()238 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()239 strcat(mountdata, "ip="); in cifs_compose_mount_options()[all …]