]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix a use-after-free case in nfs_async_rename()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:52:40 +0000 (16:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Sep 2010 20:52:40 +0000 (16:52 -0400)
commit09ed110e6085b297e8b83d9b6b7a57c64079fccb
treee0f94b8406908e4e3081afa436a2aa8eed06773d
parent1e64d05a768dd5c7daa53435866be1911f1a7584
NFS: Fix a use-after-free case in nfs_async_rename()

The call to nfs_async_rename_release() after rpc_run_task() is incorrect.
The rpc_run_task() is always guaranteed to call the ->rpc_release() method.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/unlink.c