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>
This commit is contained in:

committed by
Andreas Gruenbacher

szülő
2d29f6b96d
commit
27a2660f1e
@@ -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;
|
||||
|
Reference in New Issue
Block a user