]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Oct 2009 23:15:23 +0000 (08:15 +0900)
commitfa95c7cb09b66a2ec00a568fa1dfa348db3a0e00
tree521f5a2c9e3ae1e17415e93489da015b9b5b2c5d
parent2f4dbf36e65cbb4e39132d58f901b6f0b669f979
nfs: Fix nfs_parse_mount_options() kfree() leak

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 869e675 (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>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/super.c