diff options
author | Jeff Garzik <jgarzik@pretzel.yyz.us> | 2005-06-22 21:50:57 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-22 21:50:57 -0400 |
commit | a5324343955997d1439f26518ddac567cd5d134b (patch) | |
tree | f43558389c41e3a0f076c4ee55d77c4aa1561779 /fs/xfs/xfs_trans.c | |
parent | 8199d3a79c224bbe5943fa08684e1f93a17881b0 (diff) | |
parent | a4936044001694f033fe4ea94d6034d51a6b465c (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 3db0e2200775..06dfca531f79 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c | |||
@@ -332,25 +332,6 @@ undo_blocks: | |||
332 | 332 | ||
333 | 333 | ||
334 | /* | 334 | /* |
335 | * This is called to set the a callback to be called when the given | ||
336 | * transaction is committed to disk. The transaction pointer and the | ||
337 | * argument pointer will be passed to the callback routine. | ||
338 | * | ||
339 | * Only one callback can be associated with any single transaction. | ||
340 | */ | ||
341 | void | ||
342 | xfs_trans_callback( | ||
343 | xfs_trans_t *tp, | ||
344 | xfs_trans_callback_t callback, | ||
345 | void *arg) | ||
346 | { | ||
347 | ASSERT(tp->t_callback == NULL); | ||
348 | tp->t_callback = callback; | ||
349 | tp->t_callarg = arg; | ||
350 | } | ||
351 | |||
352 | |||
353 | /* | ||
354 | * Record the indicated change to the given field for application | 335 | * Record the indicated change to the given field for application |
355 | * to the file system's superblock when the transaction commits. | 336 | * to the file system's superblock when the transaction commits. |
356 | * For now, just store the change in the transaction structure. | 337 | * For now, just store the change in the transaction structure. |
@@ -551,7 +532,7 @@ xfs_trans_apply_sb_deltas( | |||
551 | * | 532 | * |
552 | * This is done efficiently with a single call to xfs_mod_incore_sb_batch(). | 533 | * This is done efficiently with a single call to xfs_mod_incore_sb_batch(). |
553 | */ | 534 | */ |
554 | void | 535 | STATIC void |
555 | xfs_trans_unreserve_and_mod_sb( | 536 | xfs_trans_unreserve_and_mod_sb( |
556 | xfs_trans_t *tp) | 537 | xfs_trans_t *tp) |
557 | { | 538 | { |