aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-05-16 07:13:16 -0400
committerSteve French <sfrench@us.ibm.com>2012-05-16 21:13:29 -0400
commit0471ca3fe481cf5ff0ae24c7003f4d9086a02791 (patch)
treed3d5abc60b7a932210f43fe730f54d3f5359cc3e /fs/cifs/cifsproto.h
parent0e93b4b304ae052ba1bc73f6d34a68556fe93429 (diff)
cifs: make cifs_readdata_alloc take a work_func_t arg
We'll need different completion routines for an uncached read. Allow the caller to set the one he needs at allocation time. Also, move most of these functions to file.c so we can make more of them static. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 96192c1e380a..d57cdf4e2033 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -476,8 +476,6 @@ struct cifs_readdata {
476 struct kvec iov[1]; 476 struct kvec iov[1];
477}; 477};
478 478
479struct cifs_readdata *cifs_readdata_alloc(unsigned int nr_pages);
480void cifs_readdata_free(struct cifs_readdata *rdata);
481int cifs_async_readv(struct cifs_readdata *rdata); 479int cifs_async_readv(struct cifs_readdata *rdata);
482 480
483/* asynchronous write support */ 481/* asynchronous write support */