]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfs: Fix nfs_parse_mount_options() kfree() leak
authorYinghai Lu <yinghai@kernel.org>
Tue, 20 Oct 2009 05:13:46 +0000 (14:13 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:21:48 +0000 (16:21 -0800)
commit9c367e53d2780b5131baecd1874835ce8ddc4ed0
tree3b99b182aa2ef1feb0528c5a5557bb889348a6f5
parent7613217197c8927891e554c1734c1c417b22672b
nfs: Fix nfs_parse_mount_options() kfree() leak

commit 4223a4a155f245d41c350ed9eba4fc32e965c4da upstream.

Fix a (small) memory leak in one of the error paths of the NFS mount
options parsing code.

Regression introduced in 2.6.30 by commit a67d18f (NFS: load the
rpc/rdma transport module automatically).

Reported-by: Yinghai Lu <yinghai@kernel.org>
Reported-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/super.c