diff options
author | Robert Peterson <rpeterso@redhat.com> | 2007-04-18 18:41:11 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-05-01 10:11:33 +0200 |
commit | 5f8820960cf4fb621483d4a37c24939ad831bfe7 (patch) | |
tree | 8efc44452a7d353c41cefaf1b053a37868fb72c1 /fs/dlm/lock.c | |
parent | [GFS2] Patch to detect corrupt number of dir entries in leaf and/or inode blocks (diff) | |
download | linux-5f8820960cf4fb621483d4a37c24939ad831bfe7.tar.xz linux-5f8820960cf4fb621483d4a37c24939ad831bfe7.zip |
[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/dlm/lock.c')
0 files changed, 0 insertions, 0 deletions