Commit 71b86f56 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] Further updates to dir and logging code



This reduces the size of the directory code by about 3k and gets
readdir() to use the functions which were introduced in the previous
directory code update.

Two memory allocations are merged into one. Eliminates zeroing of some
buffers which were never used before they were initialised by
other data.

There is still scope for further improvement in the directory code.

On the logging side, a hand created mutex has been replaced by a
standard Linux mutex in the log allocation code.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 94aabbd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment