rem: if (verbose > 2) rprintf(FINFO, "make_file(%s,*,%d)\n", fname, exclude_level);
add: if (verbose > 2) { rprintf(FINFO, "[%s] make_file(%s,*,%d)\n", who_am_i(), fname, exclude_level); }
context: struct file_struct *make_file(char *fname, struct string_area **ap,			      int exclude_level){	struct file_struct *file;	STRUCT_STAT st;	char sum[SUM_LENGTH];	char *p;	char cleaned_name[MAXPATHLEN];	char linkbuf[MAXPATHLEN];	unsigned short flags = 0;	if (strlcpy(cleaned_name, fname, sizeof cleaned_name)	    >= sizeof cleaned_name - flist_dir_len) {		rprintf(FINFO, "skipping overly long name: %s\n", fname);		return NULL;	}	clean_fname(cleaned_name);	if (sanitize_paths)		sanitize_path(cleaned_name, NULL);	fname = cleaned_name;	memset(sum, 0, SUM_LENGTH);	if (readlink_stat(fname, &st, linkbuf) != 0) {		int save_errno = errno;		if (errno == ENOENT && exclude_level != NO_EXCLUDES) {			/* either symlink pointing nowhere or file that			 * was removed during rsync run; see if excluded			 * before reporting an error */			if (check_exclude_file(fname, 0, exclude_level)) {				/* file is excluded anyway, ignore silently */				return NULL;			}		}		io_error |= IOERR_GENERAL;		rprintf(FERROR, "readlink %s failed: %s\n",			full_fname(fname), strerror(save_errno));		return NULL;	}	/* backup.c calls us with exclude_level set to NO_EXCLUDES. */	if (exclude_level == NO_EXCLUDES)		goto skip_excludes;	if (S_ISDIR(st.st_mode) && !recurse && !files_from) {		rprintf(FINFO, "skipping directory %s\n", fname);		return NULL;	}	if (one_file_system && st.st_dev != filesystem_dev) {		/* We allow a directory though to preserve the mount point.		 * However, flag it so that we don't recurse. */		if (!S_ISDIR(st.st_mode))			return NULL;		flags |= FLAG_MOUNT_POINT;	}	if (check_exclude_file(fname, S_ISDIR(st.st_mode) != 0, exclude_level))		return NULL;	if (lp_ignore_nonreadable(module_id) && access(fname, R_OK) != 0)		return NULL;      skip_excludes:	if (verbose > 2)		rprintf(FINFO, "make_file(%s,*,%d)\n", fname, exclude_level);	file = new(struct file_struct);	if (!file)		out_of_memory("make_file");	memset((char *) file, 0, sizeof(*file));	file->flags = flags;	if ((p = strrchr(fname, '/'))) {		static char *lastdir;		*p = 0;		if (lastdir && strcmp(fname, lastdir) == 0)			file->dirname = lastdir;		else {			file->dirname = strdup(fname);			lastdir = file->dirname;		}		file->basename = STRDUP(ap, p + 1);		*p = '/';	} else {		file->dirname = NULL;		file->basename = STRDUP(ap, fname);	}	file->modtime = st.st_mtime;	file->length = st.st_size;	file->mode = st.st_mode;	file->uid = st.st_uid;	file->gid = st.st_gid;	if (preserve_hard_links) {		if (protocol_version < 28 ? S_ISREG(st.st_mode)		    : !S_ISDIR(st.st_mode) && st.st_nlink > 1) {			if (!(file->link_u.idev = new(struct idev)))				out_of_memory("file inode data");			file->F_DEV = st.st_dev;			file->F_INODE = st.st_ino;		}	}#ifdef HAVE_STRUCT_STAT_ST_RDEV	if (IS_DEVICE(st.st_mode))		file->u.rdev = st.st_rdev;#endif#if SUPPORT_LINKS	if (S_ISLNK(st.st_mode))		file->u.link = STRDUP(ap, linkbuf);#endif	if (always_checksum && S_ISREG(st.st_mode)) {		if (!(file->u.sum = (char*)MALLOC(ap, MD4_SUM_LENGTH)))			out_of_memory("md4 sum");		file_checksum(fname, file->u.sum, st.st_size);	}	file->basedir = flist_dir;	if (!S_ISDIR(st.st_mode))		stats.total_size += st.st_size;	return file;}