diff options
author | Jeff Layton <[email protected]> | 2011-01-11 07:24:02 -0500 |
---|---|---|
committer | Steve French <[email protected]> | 2011-01-19 17:52:42 +0000 |
commit | ddc8cf8fc718587a3788330bf4f32b379f08b250 (patch) | |
tree | 16d19dfa8f98404ab453e8bb2ef765ec4d67a467 /net/unix/sysctl_net_unix.c | |
parent | 8097531a5cb55c6472118da094dc88caf9be66ac (diff) |
cifs: move locked sections out of DeleteMidQEntry and AllocMidQEntry
In later patches, we're going to need to have finer-grained control
over the addition and removal of these structs from the pending_mid_q
and we'll need to be able to call the destructor while holding the
spinlock. Move the locked sections out of both routines and into
the callers. Fix up current callers of DeleteMidQEntry to call a new
routine that dequeues the entry and then destroys it.
Reviewed-by: Suresh Jayaraman <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions