NFS: Create nfs_open_dir_context
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 23 Mar 2011 18:48:29 +0000 (14:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 23 Mar 2011 19:13:11 +0000 (15:13 -0400)
nfs_opendir() created a context that held much more information than we
need for a readdir.  This patch introduces a slimmed-down
nfs_open_dir_context that contains only the cookie and the cred used for
RPC operations.  The new context will eventually be used to help detect
readdir loops.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found