cifs: make cifs_readdata_alloc take a work_func_t arg
authorJeff Layton <jlayton@redhat.com>
Wed, 16 May 2012 11:13:16 +0000 (07:13 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 17 May 2012 01:13:29 +0000 (20:13 -0500)
commit0471ca3fe481cf5ff0ae24c7003f4d9086a02791
treed3d5abc60b7a932210f43fe730f54d3f5359cc3e
parent0e93b4b304ae052ba1bc73f6d34a68556fe93429
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>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/file.c