aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorRobert Peterson <rpeterso@redhat.com>2007-04-18 12:41:11 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-05-01 04:11:33 -0400
commit5f8820960cf4fb621483d4a37c24939ad831bfe7 (patch)
tree8efc44452a7d353c41cefaf1b053a37868fb72c1 /fs/gfs2/incore.h
parentbdd19a22f85a7039e01accd8717eaec4addd9dfd (diff)
[GFS2] lockdump improvements
The patch below consists of the following changes (in code order): 1. I fixed a minor compiler warning regarding the printing of a kernel symbol address. 2. I implemented a suggestion from Dave Teigland that moves the debugfs information for gfs2 into a subdirectory so we can easily expand our use of debugfs in the future. The current code keeps the glock information in: /debug/gfs2/<fs> With the patch, the new code keeps the glock information in: /debug/gfs2/<fs>/glock That will allow us to create more debugfs files in the future. 3. This fixes a bug whereby a failed mount attempt causes the debugfs file to not be deleted. Failed mount attempts should always clean up after themselves, including deleting the debugfs file and/or directory. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index fdf04705906f..d995441373ab 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -609,7 +609,8 @@ struct gfs2_sbd {
609 609
610 unsigned long sd_last_warning; 610 unsigned long sd_last_warning;
611 struct vfsmount *sd_gfs2mnt; 611 struct vfsmount *sd_gfs2mnt;
612 struct dentry *debugfs_dentry; /* for debugfs */ 612 struct dentry *debugfs_dir; /* debugfs directory */
613 struct dentry *debugfs_dentry_glocks; /* for debugfs */
613}; 614};
614 615
615#endif /* __INCORE_DOT_H__ */ 616#endif /* __INCORE_DOT_H__ */