SLOW_WORK: Make slow_work_ops ->get_ref/->put_ref optional

Make the ability for the slow-work facility to take references on a work item
optional as not everyone requires this.

Even the internal slow-work stubs them out, so those can be got rid of too.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
Jens Axboe
2009-11-19 18:10:39 +00:00
committed by David Howells
szülő 3d7a641e54
commit 4d8bb2cbcc
2 fájl változott, egészen pontosan 17 új sor hozzáadva és 21 régi sor törölve

Fájl megtekintése

@@ -125,7 +125,7 @@ ITEM OPERATIONS
===============
Each work item requires a table of operations of type struct slow_work_ops.
All members are required:
Only ->execute() is required, getting and putting of a reference are optional.
(*) Get a reference on an item: