Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211639
b: refs/heads/master
c: 1346698
h: refs/heads/master
i:
  211637: 091ab0e
  211635: f2e26a2
  211631: a01ca05
v: v3
  • Loading branch information
Steven Whitehouse committed Oct 6, 2010
1 parent 356e5d1 commit ad7ff58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 46290341cd649c2bfb69e5067c1804c0395c83a1
refs/heads/master: 134669854e3a680d8aad9a4047891c653715f4c0
1 change: 0 additions & 1 deletion trunk/fs/gfs2/glops.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ const struct gfs2_glock_operations *gfs2_glops_list[] = {
[LM_TYPE_META] = &gfs2_meta_glops,
[LM_TYPE_INODE] = &gfs2_inode_glops,
[LM_TYPE_RGRP] = &gfs2_rgrp_glops,
[LM_TYPE_NONDISK] = &gfs2_trans_glops,
[LM_TYPE_IOPEN] = &gfs2_iopen_glops,
[LM_TYPE_FLOCK] = &gfs2_flock_glops,
[LM_TYPE_NONDISK] = &gfs2_nondisk_glops,
Expand Down
5 changes: 4 additions & 1 deletion trunk/fs/gfs2/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ static ssize_t demote_rq_store(struct gfs2_sbd *sdp, const char *buf, size_t len

if (gltype > LM_TYPE_JOURNAL)
return -EINVAL;
glops = gfs2_glops_list[gltype];
if (gltype == LM_TYPE_NONDISK && glnum == GFS2_TRANS_LOCK)
glops = &gfs2_trans_glops;
else
glops = gfs2_glops_list[gltype];
if (glops == NULL)
return -EINVAL;
if (!test_and_set_bit(SDF_DEMOTE, &sdp->sd_flags))
Expand Down

0 comments on commit ad7ff58

Please sign in to comment.