summaryrefslogtreecommitdiffstats
path: root/drivers/block/ps3disk.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2010-09-24 14:48:42 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-10-23 15:27:30 -0400
commitd1bacf9eb2fd0e7ef870acf84b9e3b157dcfa7dc (patch)
tree8b6746ade07c71f0d40c29b76dbe65e999c038f7 /drivers/block/ps3disk.c
parent8c7597f6ce212bbc8ca05090e21820ffe9792b3d (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/block/ps3disk.c')
0 files changed, 0 insertions, 0 deletions