diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-11-19 13:10:39 -0500 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2009-11-19 13:10:39 -0500 |
commit | 4d8bb2cbccf6dccaada509aafeb01c6205c9d8c4 (patch) | |
tree | 116689de1f46840915e7f6f196ad334a990a2d5b /Documentation | |
parent | 3d7a641e544e428191667e8b1f83f96fa46dbd65 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/slow-work.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/slow-work.txt b/Documentation/slow-work.txt index f12fda31dcdc..c655c517fc68 100644 --- a/Documentation/slow-work.txt +++ b/Documentation/slow-work.txt | |||
@@ -125,7 +125,7 @@ ITEM OPERATIONS | |||
125 | =============== | 125 | =============== |
126 | 126 | ||
127 | Each work item requires a table of operations of type struct slow_work_ops. | 127 | Each work item requires a table of operations of type struct slow_work_ops. |
128 | All members are required: | 128 | Only ->execute() is required, getting and putting of a reference are optional. |
129 | 129 | ||
130 | (*) Get a reference on an item: | 130 | (*) Get a reference on an item: |
131 | 131 | ||