lib/output_buffer: harden buf_output_free() and kill buf_output_clear()
authorJens Axboe <axboe@fb.com>
Wed, 24 May 2017 16:21:27 +0000 (10:21 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 24 May 2017 16:21:27 +0000 (10:21 -0600)
commit8dd0eca30caeda7f62df4d09748286592956fcc5
tree294a799d0cedd9ea914e599f4f1615cce9579231
parentfc97d6ae95fadbd1c57197d5f744f3353e41cd57
lib/output_buffer: harden buf_output_free() and kill buf_output_clear()

The clear is superfluous. Kill the caller and the function.

Ensure that we leave the output buffer in a sane state, once
buf_output_free() has been called on it.

Signed-off-by: Jens Axboe <axboe@fb.com>
lib/output_buffer.c
lib/output_buffer.h
stat.c