Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323268
b: refs/heads/master
c: 24d634e
h: refs/heads/master
v: v3
  • Loading branch information
Michel Lespinasse authored and Steven Whitehouse committed Sep 24, 2012
1 parent b0e299f commit 9bf53c0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3b1d0b9d0b6f4b76293c8f30cc95aa946bd34150
refs/heads/master: 24d634e8f3b43fe2eb7c7d66567de7aba8edc308
4 changes: 2 additions & 2 deletions trunk/fs/gfs2/rgrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ int gfs2_rs_alloc(struct gfs2_inode *ip)
if (!res)
error = -ENOMEM;

rb_init_node(&res->rs_node);
RB_CLEAR_NODE(&res->rs_node);

down_write(&ip->i_rw_mutex);
if (ip->i_res)
Expand Down Expand Up @@ -486,7 +486,7 @@ static void __rs_deltree(struct gfs2_inode *ip, struct gfs2_blkreserv *rs)
rgd = rs->rs_rbm.rgd;
trace_gfs2_rs(ip, rs, TRACE_RS_TREEDEL);
rb_erase(&rs->rs_node, &rgd->rd_rstree);
rb_init_node(&rs->rs_node);
RB_CLEAR_NODE(&rs->rs_node);
BUG_ON(!rgd->rd_rs_cnt);
rgd->rd_rs_cnt--;

Expand Down

0 comments on commit 9bf53c0

Please sign in to comment.