summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorBob Peterson2018-04-18 21:05:01 +0200
committerAndreas Gruenbacher2018-12-12 12:33:23 +0100
commit27a2660f1ef944724956d92e8a312b6da0936fae (patch)
tree6882e4665a18c8ca750ac64c36e6eddc2393d251 /fs/gfs2/glock.c
parentgfs2: Fix loop in gfs2_rbm_find (diff)
downloadkernel-qcow2-linux-27a2660f1ef944724956d92e8a312b6da0936fae.tar.gz
kernel-qcow2-linux-27a2660f1ef944724956d92e8a312b6da0936fae.tar.xz
kernel-qcow2-linux-27a2660f1ef944724956d92e8a312b6da0936fae.zip
gfs2: Dump nrpages for inodes and their glocks
This patch is based on an idea from Steve Whitehouse. The idea is to dump the number of pages for inodes in the glock dumps. The additional locking required me to drop const from quite a few places. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 05431324b262..b92740edc416 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1777,7 +1777,7 @@ static const char *gflags2str(char *buf, const struct gfs2_glock *gl)
*
*/
-void gfs2_dump_glock(struct seq_file *seq, const struct gfs2_glock *gl)
+void gfs2_dump_glock(struct seq_file *seq, struct gfs2_glock *gl)
{
const struct gfs2_glock_operations *glops = gl->gl_ops;
unsigned long long dtime;