Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67650
b: refs/heads/master
c: 693ddea
h: refs/heads/master
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Oct 10, 2007
1 parent c0f6f9b commit d8bbd1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 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: 905d2aefa9e06ebb995df96920d273a516fcd3f9
refs/heads/master: 693ddeabbb3e563f192a7ac74ec04168aa92e8d8
13 changes: 2 additions & 11 deletions trunk/fs/gfs2/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai)

gfs2_assert(sdp, bd->bd_ail == ai);

if (!bh){
list_move(&bd->bd_ail_st_list, &ai->ai_ail2_list);
continue;
}

if (!buffer_busy(bh)) {
if (!buffer_uptodate(bh)) {
gfs2_log_unlock(sdp);
Expand Down Expand Up @@ -130,11 +125,6 @@ static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int fl
bd_ail_st_list) {
bh = bd->bd_bh;

if (!bh){
list_move(&bd->bd_ail_st_list, &ai->ai_ail2_list);
continue;
}

gfs2_assert(sdp, bd->bd_ail == ai);

if (buffer_busy(bh)) {
Expand All @@ -155,13 +145,14 @@ static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai, int fl

static void gfs2_ail1_start(struct gfs2_sbd *sdp, int flags)
{
struct list_head *head = &sdp->sd_ail1_list;
struct list_head *head;
u64 sync_gen;
struct list_head *first;
struct gfs2_ail *first_ai, *ai, *tmp;
int done = 0;

gfs2_log_lock(sdp);
head = &sdp->sd_ail1_list;
if (list_empty(head)) {
gfs2_log_unlock(sdp);
return;
Expand Down

0 comments on commit d8bbd1c

Please sign in to comment.