diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-29 14:36:49 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-29 14:36:49 -0500 |
commit | d0dc80dbafb5c10ad2084831a61bbf945484a139 (patch) | |
tree | f7434367a66e4e4be0885daefe5e59ab43502a7f /fs/gfs2/incore.h | |
parent | 484adff8a06cb5d952832f5487ae863f54c0fb69 (diff) |
[GFS2] Update debugging code
Update the debugging code in trans.c and at the same time improve
the debugging code for gfs2_holders. The new code should be pretty
fast during the normal case and provide just as much information
in case of errors (or more).
One small function from glock.c has moved to glock.h as a static inline so
that its return address won't get in the way of the debugging.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 35163b562460..b5a994d1b5f7 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -161,6 +161,7 @@ struct gfs2_holder { | |||
161 | int gh_error; | 161 | int gh_error; |
162 | unsigned long gh_iflags; | 162 | unsigned long gh_iflags; |
163 | struct completion gh_wait; | 163 | struct completion gh_wait; |
164 | unsigned long gh_ip; | ||
164 | }; | 165 | }; |
165 | 166 | ||
166 | enum { | 167 | enum { |
@@ -353,8 +354,7 @@ struct gfs2_log_buf { | |||
353 | }; | 354 | }; |
354 | 355 | ||
355 | struct gfs2_trans { | 356 | struct gfs2_trans { |
356 | char *tr_file; | 357 | unsigned long tr_ip; |
357 | unsigned int tr_line; | ||
358 | 358 | ||
359 | unsigned int tr_blocks; | 359 | unsigned int tr_blocks; |
360 | unsigned int tr_revokes; | 360 | unsigned int tr_revokes; |