]> git.karo-electronics.de Git - linux-beck.git/commit
staging/lustre/llite: remove lustre_generic_file_{read,write}
authorJinshan Xiong <jinshan.xiong@intel.com>
Wed, 12 Feb 2014 05:32:44 +0000 (21:32 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Feb 2014 17:30:42 +0000 (09:30 -0800)
commit74c0da19c4ee842bf2ec880d4cef92858844934d
tree738de40685ed78482ad2ca5e605a08b8c48ae89c
parente5b9c0577206083c5bc501f8b77554dc7a5e6388
staging/lustre/llite: remove lustre_generic_file_{read,write}

It looks like lustre_generic_file_{read,write} are a holdover from
2.6.19 where generic_file_aio_read() replaced generic_file_readv()
and cross-kernel interoperability was required for some period of
time. Lustre has since removed support for those older kernels, but
it looks like the wrappers were not deleted at that time. This patch
will delete them.

Pass &iocb->ki_pos as the last argument for these functions instead
of crw_pos, since this is the convention for other callers.  Verify
that this is the same as the current crw_pos argument.  This code can
likely be cleaned up further in a later patch.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lclient.h
drivers/staging/lustre/lustre/llite/file.c
drivers/staging/lustre/lustre/llite/llite_internal.h
drivers/staging/lustre/lustre/llite/rw.c
drivers/staging/lustre/lustre/llite/vvp_io.c