Date: Thu Aug 22 11:20:46 PDT 2002
Workarea: clink-eth.americas.sgi.com:/data/clink/a67/roehrich/2.4.x-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:125695a
linux/fs/xfs/dmapi/dmapi_right.c - 1.12
- The recent stream of change to add bhv locking to the dmapi
core went one lock too far. The bhv lock in dm_change_right()
could result in a thread that is attempting to get the same
lock for a second time.
In dm_change_right() we're making several callouts to some
dmapi "rights" functions. We don't have a "rights" implementation
so those rights functions are just stubs. I'd like to turn
off this code, from the bhv lock to the bhv unlock, with an #ifdef,
until
we have a rights implementation.
At that time, we can sort out the bhv locking.
|