Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38807
b: refs/heads/master
c: d6a5372
h: refs/heads/master
i:
  38805: 72a08cc
  38803: 0f7d2e5
  38799: d512456
v: v3
  • Loading branch information
Steven Whitehouse committed Aug 30, 2006
1 parent 7265a08 commit 565c348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec45d9f583b3663f90a7c5c559fd13e6e4c56ad5
refs/heads/master: d6a53727683bbf993c01ab49b45e0eac17e23df1
6 changes: 3 additions & 3 deletions trunk/fs/gfs2/glock.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static inline int relaxed_state_ok(unsigned int actual, unsigned requested,
* Returns: The number of the corresponding hash bucket
*/

static unsigned int gl_hash(struct lm_lockname *name)
static unsigned int gl_hash(const struct lm_lockname *name)
{
unsigned int h;

Expand Down Expand Up @@ -200,7 +200,7 @@ static inline int queue_empty(struct gfs2_glock *gl, struct list_head *head)
*/

static struct gfs2_glock *search_bucket(struct gfs2_gl_hash_bucket *bucket,
struct lm_lockname *name)
const struct lm_lockname *name)
{
struct gfs2_glock *gl;

Expand All @@ -227,7 +227,7 @@ static struct gfs2_glock *search_bucket(struct gfs2_gl_hash_bucket *bucket,
*/

static struct gfs2_glock *gfs2_glock_find(struct gfs2_sbd *sdp,
struct lm_lockname *name)
const struct lm_lockname *name)
{
struct gfs2_gl_hash_bucket *bucket = &sdp->sd_gl_hash[gl_hash(name)];
struct gfs2_glock *gl;
Expand Down

0 comments on commit 565c348

Please sign in to comment.