Allows grep ' files structure ' in the log
to count up and down the number of files allocated.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
conn->num_files_open++;
+ DBG_INFO("allocated files structure (%u used)\n",
+ (unsigned int)sconn->num_files);
+
*result = fsp;
return NT_STATUS_OK;
return NT_STATUS_NO_MEMORY;
}
- DEBUG(5,("allocated file structure %s (%u used)\n",
- fsp_fnum_dbg(fsp), (unsigned int)sconn->num_files));
+ DBG_INFO("new file %s\n", fsp_fnum_dbg(fsp));
/* A new fsp invalidates the positive and
negative fsp_fi_cache as the new fsp is pushed