[GFS2] Remove readv/writev methods and use aio_read/aio_write instead (gfs bits)
authorBadari Pulavarty <pbadari@us.ibm.com>
Sun, 1 Oct 2006 06:38:50 +0000 (23:38 -0700)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 2 Oct 2006 13:02:12 +0000 (09:02 -0400)
This patch removes readv() and writev() methods and replaces them with
aio_read()/aio_write() methods.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_file.c

index a9ac1358ce21ca900b6ea68154304c9059a9bde8..a05b75a7ed8edd31c862a440924709087e743260 100644 (file)
@@ -613,10 +613,8 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
 const struct file_operations gfs2_file_fops = {
        .llseek         = gfs2_llseek,
        .read           = generic_file_read,
-       .readv          = generic_file_readv,
        .aio_read       = generic_file_aio_read,
        .write          = generic_file_write,
-       .writev         = generic_file_writev,
        .aio_write      = generic_file_aio_write,
        .unlocked_ioctl = gfs2_ioctl,
        .mmap           = gfs2_mmap,