summaryrefslogtreecommitdiffstats
path: root/fs/quota_v2.c
diff options
context:
space:
mode:
authorTom Tucker <tom@opengridcomputing.com>2008-10-23 23:33:25 +0200
committerEric Van Hensbergen <ericvh@gmail.com>2008-11-05 20:19:06 +0100
commit45abdf1c7be80d6ec3b0b14e59ee75a0d5d9fb37 (patch)
tree34a5ea23b63df0da422ff161ec580f9b2ca54680 /fs/quota_v2.c
parent9p: Remove unneeded free of fcall for Flush (diff)
downloadlinux-45abdf1c7be80d6ec3b0b14e59ee75a0d5d9fb37.tar.xz
linux-45abdf1c7be80d6ec3b0b14e59ee75a0d5d9fb37.zip
p9: Fix leak of waitqueue in request allocation path
If a T or R fcall cannot be allocated, the function returns an error but neglects to free the wait queue that was successfully allocated. If it comes through again a second time this wq will be overwritten with a new allocation and the old allocation will be leaked. Also, if the client is subsequently closed, the close path will attempt to clean up these allocations, so set the req fields to NULL to avoid duplicate free. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/quota_v2.c')
0 files changed, 0 insertions, 0 deletions