]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit883e6531a67d3851e9380d89836338d15f21397c
treed3d5abc60b7a932210f43fe730f54d3f5359cc3e
parent15a231c2a1ca4830256f790b91bf0b0ca31baff1
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