Re: cbdata_unlock in fs/*/*io*.c

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 22 Apr 2000 12:55:57 +0200

Adrian Chadd wrote:

> There are two distinct callbacks there, the read callback and the
> sio callback. storeUfsIOCallback() is called when the storeIO operation
> is about to finish.

My primary issue was not about the placement of the callbacks, but how
cbdata is used in that code. There is no real point in using
cbdataLock/Unlock unless you also make use of cbdataValid to check the
validity of the data.

/Henrik
Received on Sat Apr 22 2000 - 04:58:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:23 MST