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/trans.h | |
parent | 484adff8a06cb5d952832f5487ae863f54c0fb69 (diff) | |
download | blackbird-op-linux-d0dc80dbafb5c10ad2084831a61bbf945484a139.tar.gz blackbird-op-linux-d0dc80dbafb5c10ad2084831a61bbf945484a139.zip |
[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/trans.h')
-rw-r--r-- | fs/gfs2/trans.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/gfs2/trans.h b/fs/gfs2/trans.h index f7f3e2a3d590..6b5e9e8bf561 100644 --- a/fs/gfs2/trans.h +++ b/fs/gfs2/trans.h @@ -21,12 +21,8 @@ #define RES_STATFS 1 #define RES_QUOTA 2 -#define gfs2_trans_begin(sdp, blocks, revokes) \ -gfs2_trans_begin_i((sdp), (blocks), (revokes), __FILE__, __LINE__) - -int gfs2_trans_begin_i(struct gfs2_sbd *sdp, - unsigned int blocks, unsigned int revokes, - char *file, unsigned int line); +int gfs2_trans_begin(struct gfs2_sbd *sdp, + unsigned int blocks, unsigned int revokes); void gfs2_trans_end(struct gfs2_sbd *sdp); |