Rename function for clarity

parent 6a180e45
......@@ -3171,7 +3171,7 @@ logbuffer_flush_finish_work(struct worker *wrk, void *priv)
} while(0)
static unsigned
logbuffer_availblks(const struct fellow_logbuffer *lbuf)
logbuffer_avail_dsk_blks(const struct fellow_logbuffer *lbuf)
{
unsigned avail = 0;
......@@ -3220,7 +3220,7 @@ logbuffer_addblks(struct fellow_fd *ffd,
avail = 0;
can = 0;
if (canflush)
avail = logbuffer_availblks(lbuf);
avail = logbuffer_avail_dsk_blks(lbuf);
/* if we need memory, just flush blocks
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment