Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235061
b: refs/heads/master
c: fa1bbde
h: refs/heads/master
i:
  235059: cbe172b
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Mar 11, 2011
1 parent ce0a839 commit 13e504a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 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: 0a33443b38746f35fc4acc8a5af6c7099e03ea40
refs/heads/master: fa1bbdea300a15ec7c1186a5e53de33a5b1672f5
12 changes: 4 additions & 8 deletions trunk/fs/gfs2/glock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1248,10 +1248,8 @@ int gfs2_glock_nq_m(unsigned int num_gh, struct gfs2_holder *ghs)

void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs)
{
unsigned int x;

for (x = 0; x < num_gh; x++)
gfs2_glock_dq(&ghs[x]);
while (num_gh--)
gfs2_glock_dq(&ghs[num_gh]);
}

/**
Expand All @@ -1263,10 +1261,8 @@ void gfs2_glock_dq_m(unsigned int num_gh, struct gfs2_holder *ghs)

void gfs2_glock_dq_uninit_m(unsigned int num_gh, struct gfs2_holder *ghs)
{
unsigned int x;

for (x = 0; x < num_gh; x++)
gfs2_glock_dq_uninit(&ghs[x]);
while (num_gh--)
gfs2_glock_dq_uninit(&ghs[num_gh]);
}

void gfs2_glock_cb(struct gfs2_glock *gl, unsigned int state)
Expand Down

0 comments on commit 13e504a

Please sign in to comment.