aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <[email protected]>2011-04-18 15:48:55 +0000
committerJ. Bruce Fields <[email protected]>2011-04-19 21:31:13 +0000
commita96e5b90804be8b540d30f4a1453fc87f95b3149 (patch)
tree16504bb1b02626001ef0ef84991e87d0c95e1061 /tools/perf/util/trace-event-scripting.c
parentnfsd4: fix struct file leak on delegation (diff)
downloadkernel-a96e5b90804be8b540d30f4a1453fc87f95b3149.tar.gz
kernel-a96e5b90804be8b540d30f4a1453fc87f95b3149.zip
nfsd4: Fix filp leak
23fcf2ec93fb8573a653408316af599939ff9a8e (nfsd4: fix oops on lock failure) The above patch breaks free path for stp->st_file. If stp was inserted into sop->so_stateids, we have to free stp->st_file refcount. Because stp->st_file refcount itself is taken whether or not any refcounts are taken on the stp->st_file->fi_fds[]. Signed-off-by: OGAWA Hirofumi <[email protected]> Cc: [email protected] Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions