aboutsummaryrefslogtreecommitdiffstats
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-01-11 07:24:02 -0500
committerSteve French <sfrench@us.ibm.com>2011-01-19 17:52:42 +0000
commitddc8cf8fc718587a3788330bf4f32b379f08b250 (patch)
tree16d19dfa8f98404ab453e8bb2ef765ec4d67a467 /fs/readdir.c
parentcifs: clean up accesses to midCount (diff)
downloadlinux-dev-ddc8cf8fc718587a3788330bf4f32b379f08b250.tar.xz
linux-dev-ddc8cf8fc718587a3788330bf4f32b379f08b250.zip
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 <sjayaraman@suse.de> Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions