diff options
author | 2010-09-24 14:48:42 -0400 | |
---|---|---|
committer | 2010-10-23 15:27:30 -0400 | |
commit | d1bacf9eb2fd0e7ef870acf84b9e3b157dcfa7dc (patch) | |
tree | 8b6746ade07c71f0d40c29b76dbe65e999c038f7 /fs/nfs/inode.c | |
parent | nfs: include ratelimit.h, fix nfs4state build error (diff) | |
download | linux-dev-d1bacf9eb2fd0e7ef870acf84b9e3b157dcfa7dc.tar.xz linux-dev-d1bacf9eb2fd0e7ef870acf84b9e3b157dcfa7dc.zip |
NFS: add readdir cache array
This patch adds the readdir cache array and functions to retreive the array
stored on a cache page, clear the array by freeing allocated memory, add an
entry to the array, and search the array for a given cookie.
It then modifies readdir to make use of the new cache array.
With the new cache array method, we no longer need some of this code.
Finally, nfs_llseek_dir() will set file->f_pos to a value greater than 0 and
desc->dir_cookie to zero. When we see this, readdir needs to find the file
at position file->f_pos from the start of the directory.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions