diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-21 07:51:39 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-21 07:51:39 -0500 |
commit | f55ab26a8f92a23988c3e6da28dae4741933a4e2 (patch) | |
tree | b6f9e89ce1b2ccde8d81314aeea06f6a02f882f7 /fs/gfs2/log.h | |
parent | 5c4e9e036678fae65c9288e1c00a6f33cd447283 (diff) |
[GFS2] Use mutices rather than semaphores
As well as a number of minor bug fixes, this patch changes GFS
to use mutices rather than semaphores. This results in better
information in case there are any locking problems.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.h')
-rw-r--r-- | fs/gfs2/log.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/log.h b/fs/gfs2/log.h index 4413cda81154..e7a6a65c530f 100644 --- a/fs/gfs2/log.h +++ b/fs/gfs2/log.h | |||
@@ -42,9 +42,6 @@ static inline void gfs2_log_pointers_init(struct gfs2_sbd *sdp, | |||
42 | sdp->sd_log_head = sdp->sd_log_tail = value; | 42 | sdp->sd_log_head = sdp->sd_log_tail = value; |
43 | } | 43 | } |
44 | 44 | ||
45 | void gfs2_lock_for_flush(struct gfs2_sbd *sdp); | ||
46 | void gfs2_unlock_from_flush(struct gfs2_sbd *sdp); | ||
47 | |||
48 | unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, | 45 | unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, |
49 | unsigned int ssize); | 46 | unsigned int ssize); |
50 | 47 | ||