NFS: Fix up two use-after-free issues with the new tracing code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Aug 2013 13:17:33 +0000 (09:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Aug 2013 13:19:34 +0000 (09:19 -0400)
commit2d9db75005effd6d4e0c8be4f74922e4f413fbe5
treeaa90d75eb0610c8fdc07d5b5a936acce3a0c4316
parent6686390bab6a0e049fa7040631aee08b35a55293
NFS: Fix up two use-after-free issues with the new tracing code

We don't want to pass the context argument to trace_nfs_atomic_open_exit()
after it has been released.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c