]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NLM: Fix a memory leak in nlmsvc_testlock
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 15:04:57 +0000 (11:04 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 9 Oct 2007 19:38:26 +0000 (12:38 -0700)
commita6d85430424d44e946e0946bfaad607115510989
treef324085c0d92fb8ebae928bab3a5f0b480a3bb4a
parentbaf14aa14efcfdb5a74d5cf804691086c6bec743
NLM: Fix a memory leak in nlmsvc_testlock

The recent fix for a circular lock dependency unfortunately introduced a
potential memory leak in the event where the call to nlmsvc_lookup_host
fails for some reason.

Thanks to Roel Kluin for spotting this.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/lockd/svclock.c