Skip to content
Commit 70c11ba8 authored by Bob Peterson's avatar Bob Peterson
Browse files

gfs2: Don't release and reacquire local statfs bh



Before this patch, several functions in gfs2 related to the updating
of the statfs file used a newly acquired/read buffer_head for the
local statfs file. This is completely unnecessary, because other nodes
should never update it. Recreating the buffer is a waste of time.

This patch allows gfs2 to read in the local statefs buffer_head at
mount time and keep it around until unmount time.

Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent a28dc123
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