]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit618bd7ea72223e42ad25145af595f34cd9d01c27
tree20bb22ea6db986e91017734f6c0390e1211b1765
parent1ebb66fe2c2f4024a9a7a05fbf9ea190d1cd19fe
NFS: Create nfs_open_dir_context

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>
fs/nfs/dir.c
fs/nfs/inode.c
include/linux/nfs_fs.h