mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] Remove readv/writev methods and use aio_read/aio_write instead
This patch removes readv() and writev() methods and replaces them with aio_read()/aio_write() methods. Signed-off-by: Badari Pulavarty <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
027445c372
commit
ee0b3e671b
21 changed files with 154 additions and 388 deletions
|
|
@ -2298,11 +2298,9 @@ const struct file_operations ntfs_file_ops = {
|
|||
.llseek = generic_file_llseek, /* Seek inside file. */
|
||||
.read = generic_file_read, /* Read from file. */
|
||||
.aio_read = generic_file_aio_read, /* Async read from file. */
|
||||
.readv = generic_file_readv, /* Read from file. */
|
||||
#ifdef NTFS_RW
|
||||
.write = ntfs_file_write, /* Write to file. */
|
||||
.aio_write = ntfs_file_aio_write, /* Async write to file. */
|
||||
.writev = ntfs_file_writev, /* Write to file. */
|
||||
/*.release = ,*/ /* Last file is closed. See
|
||||
fs/ext2/file.c::
|
||||
ext2_release_file() for
|
||||
|
|
|
|||
Loading…
Reference in a new issue