Rename function for clarity

parent 6a180e45
...@@ -3171,7 +3171,7 @@ logbuffer_flush_finish_work(struct worker *wrk, void *priv) ...@@ -3171,7 +3171,7 @@ logbuffer_flush_finish_work(struct worker *wrk, void *priv)
} while(0) } while(0)
static unsigned static unsigned
logbuffer_availblks(const struct fellow_logbuffer *lbuf) logbuffer_avail_dsk_blks(const struct fellow_logbuffer *lbuf)
{ {
unsigned avail = 0; unsigned avail = 0;
...@@ -3220,7 +3220,7 @@ logbuffer_addblks(struct fellow_fd *ffd, ...@@ -3220,7 +3220,7 @@ logbuffer_addblks(struct fellow_fd *ffd,
avail = 0; avail = 0;
can = 0; can = 0;
if (canflush) if (canflush)
avail = logbuffer_availblks(lbuf); avail = logbuffer_avail_dsk_blks(lbuf);
/* if we need memory, just flush blocks /* 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