summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authormajianpeng <majianpeng@gmail.com>2013-01-29 06:16:01 +0100
committerJ. Bruce Fields <bfields@redhat.com>2013-01-29 22:50:03 +0100
commit885c91f74662404dc179b8775494df383479311c (patch)
tree7ec009e3704fb201ab518a22954cd2951420270e /fs/nfsd/cache.h
parentnfsd4: require version 4 when enabling or disabling minorversion (diff)
downloadlinux-885c91f74662404dc179b8775494df383479311c.tar.xz
linux-885c91f74662404dc179b8775494df383479311c.zip
nfsd: Fix memleak in svc_export_put
In func svc_export_parse, the uuid which used kmemdup to alloc will be changed in func export_update.So the later kfree don't free this memory. And it can't be free in func svc_export_parse because other place still used.So put this operation in func svc_export_put. Signed-off-by: Jianpeng Ma <majianpeng@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/cache.h')
0 files changed, 0 insertions, 0 deletions