diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-04 01:14:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:29:43 -0400 |
commit | 8436318205b9f29e45db88850ec60e326327e241 (patch) | |
tree | 4339c116819e9e6d8e61a1876d9d0d08d0ee089c /fs/file_table.c | |
parent | 1c65d98672e09a0cb28e1e9ae49e9d96355f522f (diff) |
->aio_read and ->aio_write removed
no remaining users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 3f85411b03ce..294174dcc226 100644 --- a/fs/file_table.c +++ b/fs/file_table.c | |||
@@ -168,10 +168,10 @@ struct file *alloc_file(struct path *path, fmode_t mode, | |||
168 | file->f_inode = path->dentry->d_inode; | 168 | file->f_inode = path->dentry->d_inode; |
169 | file->f_mapping = path->dentry->d_inode->i_mapping; | 169 | file->f_mapping = path->dentry->d_inode->i_mapping; |
170 | if ((mode & FMODE_READ) && | 170 | if ((mode & FMODE_READ) && |
171 | likely(fop->read || fop->aio_read || fop->read_iter)) | 171 | likely(fop->read || fop->read_iter)) |
172 | mode |= FMODE_CAN_READ; | 172 | mode |= FMODE_CAN_READ; |
173 | if ((mode & FMODE_WRITE) && | 173 | if ((mode & FMODE_WRITE) && |
174 | likely(fop->write || fop->aio_write || fop->write_iter)) | 174 | likely(fop->write || fop->write_iter)) |
175 | mode |= FMODE_CAN_WRITE; | 175 | mode |= FMODE_CAN_WRITE; |
176 | file->f_mode = mode; | 176 | file->f_mode = mode; |
177 | file->f_op = fop; | 177 | file->f_op = fop; |