summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-05-16 11:13:16 (GMT)
committerSteve French <sfrench@us.ibm.com>2012-05-17 01:13:29 (GMT)
commit0471ca3fe481cf5ff0ae24c7003f4d9086a02791 (patch)
treed3d5abc60b7a932210f43fe730f54d3f5359cc3e /fs/cifs/cifsproto.h
parent0e93b4b304ae052ba1bc73f6d34a68556fe93429 (diff)
downloadlinux-fsl-qoriq-0471ca3fe481cf5ff0ae24c7003f4d9086a02791.tar.xz
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 96192c1..d57cdf4 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -476,8 +476,6 @@ struct cifs_readdata {
struct kvec iov[1];
};
-struct cifs_readdata *cifs_readdata_alloc(unsigned int nr_pages);
-void cifs_readdata_free(struct cifs_readdata *rdata);
int cifs_async_readv(struct cifs_readdata *rdata);
/* asynchronous write support */