]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix a double free in nfs_parse_mount_options()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 6 Apr 2009 23:41:35 +0000 (16:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 00:19:48 +0000 (17:19 -0700)
commit46133213a1170df4233f652ebaf2bd25704f505c
tree98b7ad238275bef428ac47204a7ce2fe6f14199c
parente5b34f5f067ceb29c7bc83918d3796f392438322
NFS: Fix a double free in nfs_parse_mount_options()

Due to an apparent typo, commit 869e6751e40c46ca3e61caab8cdc15c148c8c43e
(NFS: load the rpc/rdma transport module automatically) lead to the
'proto=' mount option doing a double free, while Opt_mountproto leaks a
string.

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