diff options
Diffstat (limited to 'fs/xfs/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index 3db0e2200775..a865f6035991 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. |