Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108341
b: refs/heads/master
c: c6a7b0f
h: refs/heads/master
i:
  108339: 8e5f534
v: v3
  • Loading branch information
Lachlan McIlroy authored and Lachlan McIlroy committed Aug 13, 2008
1 parent ad89c1d commit 881e8bc
Show file tree
Hide file tree
Showing 2 changed files with 6 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: c94312de223644e2f18e7064ae8cafa14e5c6ef6
refs/heads/master: c6a7b0f8a49aa71792dd108efc535435f462bf79
13 changes: 5 additions & 8 deletions trunk/fs/xfs/xfs_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,12 @@ xfs_log_done(xfs_mount_t *mp,
} else {
xlog_trace_loggrant(log, ticket, "xfs_log_done: (permanent)");
xlog_regrant_reserve_log_space(log, ticket);
}

/* If this ticket was a permanent reservation and we aren't
* trying to release it, reset the inited flags; so next time
* we write, a start record will be written out.
*/
if ((ticket->t_flags & XLOG_TIC_PERM_RESERV) &&
(flags & XFS_LOG_REL_PERM_RESERV) == 0)
/* If this ticket was a permanent reservation and we aren't
* trying to release it, reset the inited flags; so next time
* we write, a start record will be written out.
*/
ticket->t_flags |= XLOG_TIC_INITED;
}

return lsn;
} /* xfs_log_done */
Expand Down

0 comments on commit 881e8bc

Please sign in to comment.