diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2010-09-24 14:48:42 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-10-23 15:27:30 -0400 |
commit | d1bacf9eb2fd0e7ef870acf84b9e3b157dcfa7dc (patch) | |
tree | 8b6746ade07c71f0d40c29b76dbe65e999c038f7 /drivers/net/ni65.c | |
parent | 8c7597f6ce212bbc8ca05090e21820ffe9792b3d (diff) |
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 'drivers/net/ni65.c')
0 files changed, 0 insertions, 0 deletions