Skip to content
Commit f246dd4b authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs: Get rid of unnucessary locking in inode_go_dump



Commit 27a2660f ("gfs2: Dump nrpages for inodes and their glocks")
added some locking around reading inode->i_data.nrpages.  That locking
doesn't do anything really, so get rid of it.

With that, the glock argument to ->go_dump() can be made const again as
well.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 6c7410f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment