Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
aad4f8bb
Commit
aad4f8bb
authored
Apr 02, 2014
by
Al Viro
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch simple generic_file_aio_read() users to ->read_iter()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
293bc982
Changes
35
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
75 additions
and
75 deletions
+75
-75
drivers/char/raw.c
drivers/char/raw.c
+2
-2
fs/9p/vfs_file.c
fs/9p/vfs_file.c
+3
-3
fs/adfs/file.c
fs/adfs/file.c
+2
-2
fs/affs/file.c
fs/affs/file.c
+2
-2
fs/afs/file.c
fs/afs/file.c
+2
-2
fs/bfs/file.c
fs/bfs/file.c
+2
-2
fs/btrfs/file.c
fs/btrfs/file.c
+2
-2
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+4
-4
fs/exofs/file.c
fs/exofs/file.c
+2
-2
fs/ext2/file.c
fs/ext2/file.c
+2
-2
fs/ext3/file.c
fs/ext3/file.c
+2
-2
fs/ext4/file.c
fs/ext4/file.c
+2
-2
fs/f2fs/file.c
fs/f2fs/file.c
+2
-2
fs/fat/file.c
fs/fat/file.c
+2
-2
fs/gfs2/file.c
fs/gfs2/file.c
+4
-4
fs/hfs/inode.c
fs/hfs/inode.c
+2
-2
fs/hfsplus/inode.c
fs/hfsplus/inode.c
+2
-2
fs/hostfs/hostfs_kern.c
fs/hostfs/hostfs_kern.c
+2
-2
fs/hpfs/file.c
fs/hpfs/file.c
+2
-2
fs/jffs2/file.c
fs/jffs2/file.c
+2
-2
fs/jfs/file.c
fs/jfs/file.c
+2
-2
fs/logfs/file.c
fs/logfs/file.c
+2
-2
fs/minix/file.c
fs/minix/file.c
+2
-2
fs/nilfs2/file.c
fs/nilfs2/file.c
+2
-2
fs/ntfs/file.c
fs/ntfs/file.c
+2
-2
fs/omfs/file.c
fs/omfs/file.c
+2
-2
fs/ramfs/file-mmu.c
fs/ramfs/file-mmu.c
+2
-2
fs/ramfs/file-nommu.c
fs/ramfs/file-nommu.c
+2
-2
fs/read_write.c
fs/read_write.c
+2
-2
fs/reiserfs/file.c
fs/reiserfs/file.c
+2
-2
fs/romfs/mmap-nommu.c
fs/romfs/mmap-nommu.c
+2
-2
fs/sysv/file.c
fs/sysv/file.c
+2
-2
fs/ubifs/file.c
fs/ubifs/file.c
+2
-2
fs/udf/file.c
fs/udf/file.c
+2
-2
fs/ufs/file.c
fs/ufs/file.c
+2
-2
No files found.
drivers/char/raw.c
View file @
aad4f8bb
...
@@ -284,8 +284,8 @@ static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd,
...
@@ -284,8 +284,8 @@ static long raw_ctl_compat_ioctl(struct file *file, unsigned int cmd,
#endif
#endif
static
const
struct
file_operations
raw_fops
=
{
static
const
struct
file_operations
raw_fops
=
{
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
blkdev_aio_write
,
.
aio_write
=
blkdev_aio_write
,
.
fsync
=
blkdev_fsync
,
.
fsync
=
blkdev_fsync
,
...
...
fs/9p/vfs_file.c
View file @
aad4f8bb
...
@@ -695,7 +695,7 @@ v9fs_cached_file_read(struct file *filp, char __user *data, size_t count,
...
@@ -695,7 +695,7 @@ v9fs_cached_file_read(struct file *filp, char __user *data, size_t count,
{
{
if
(
filp
->
f_flags
&
O_DIRECT
)
if
(
filp
->
f_flags
&
O_DIRECT
)
return
v9fs_direct_read
(
filp
,
data
,
count
,
offset
);
return
v9fs_direct_read
(
filp
,
data
,
count
,
offset
);
return
do
_sync_read
(
filp
,
data
,
count
,
offset
);
return
new
_sync_read
(
filp
,
data
,
count
,
offset
);
}
}
/**
/**
...
@@ -850,7 +850,7 @@ const struct file_operations v9fs_cached_file_operations = {
...
@@ -850,7 +850,7 @@ const struct file_operations v9fs_cached_file_operations = {
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
v9fs_cached_file_read
,
.
read
=
v9fs_cached_file_read
,
.
write
=
v9fs_cached_file_write
,
.
write
=
v9fs_cached_file_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
open
=
v9fs_file_open
,
.
open
=
v9fs_file_open
,
.
release
=
v9fs_dir_release
,
.
release
=
v9fs_dir_release
,
...
@@ -863,7 +863,7 @@ const struct file_operations v9fs_cached_file_operations_dotl = {
...
@@ -863,7 +863,7 @@ const struct file_operations v9fs_cached_file_operations_dotl = {
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
v9fs_cached_file_read
,
.
read
=
v9fs_cached_file_read
,
.
write
=
v9fs_cached_file_write
,
.
write
=
v9fs_cached_file_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
open
=
v9fs_file_open
,
.
open
=
v9fs_file_open
,
.
release
=
v9fs_dir_release
,
.
release
=
v9fs_dir_release
,
...
...
fs/adfs/file.c
View file @
aad4f8bb
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
const
struct
file_operations
adfs_file_operations
=
{
const
struct
file_operations
adfs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
.
fsync
=
generic_file_fsync
,
.
fsync
=
generic_file_fsync
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
...
...
fs/affs/file.c
View file @
aad4f8bb
...
@@ -27,8 +27,8 @@ static int affs_file_release(struct inode *inode, struct file *filp);
...
@@ -27,8 +27,8 @@ static int affs_file_release(struct inode *inode, struct file *filp);
const
struct
file_operations
affs_file_operations
=
{
const
struct
file_operations
affs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/afs/file.c
View file @
aad4f8bb
...
@@ -31,9 +31,9 @@ const struct file_operations afs_file_operations = {
...
@@ -31,9 +31,9 @@ const struct file_operations afs_file_operations = {
.
open
=
afs_open
,
.
open
=
afs_open
,
.
release
=
afs_release
,
.
release
=
afs_release
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
afs_file_write
,
.
aio_write
=
afs_file_write
,
.
mmap
=
generic_file_readonly_mmap
,
.
mmap
=
generic_file_readonly_mmap
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
...
...
fs/bfs/file.c
View file @
aad4f8bb
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
const
struct
file_operations
bfs_file_operations
=
{
const
struct
file_operations
bfs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/btrfs/file.c
View file @
aad4f8bb
...
@@ -2622,9 +2622,9 @@ static loff_t btrfs_file_llseek(struct file *file, loff_t offset, int whence)
...
@@ -2622,9 +2622,9 @@ static loff_t btrfs_file_llseek(struct file *file, loff_t offset, int whence)
const
struct
file_operations
btrfs_file_operations
=
{
const
struct
file_operations
btrfs_file_operations
=
{
.
llseek
=
btrfs_file_llseek
,
.
llseek
=
btrfs_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
.
aio_write
=
btrfs_file_aio_write
,
.
aio_write
=
btrfs_file_aio_write
,
.
mmap
=
btrfs_file_mmap
,
.
mmap
=
btrfs_file_mmap
,
...
...
fs/cifs/cifsfs.c
View file @
aad4f8bb
...
@@ -888,9 +888,9 @@ const struct inode_operations cifs_symlink_inode_ops = {
...
@@ -888,9 +888,9 @@ const struct inode_operations cifs_symlink_inode_ops = {
};
};
const
struct
file_operations
cifs_file_ops
=
{
const
struct
file_operations
cifs_file_ops
=
{
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
cifs_file_aio_write
,
.
aio_write
=
cifs_file_aio_write
,
.
open
=
cifs_open
,
.
open
=
cifs_open
,
.
release
=
cifs_close
,
.
release
=
cifs_close
,
...
@@ -946,9 +946,9 @@ const struct file_operations cifs_file_direct_ops = {
...
@@ -946,9 +946,9 @@ const struct file_operations cifs_file_direct_ops = {
};
};
const
struct
file_operations
cifs_file_nobrl_ops
=
{
const
struct
file_operations
cifs_file_nobrl_ops
=
{
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
cifs_file_aio_write
,
.
aio_write
=
cifs_file_aio_write
,
.
open
=
cifs_open
,
.
open
=
cifs_open
,
.
release
=
cifs_close
,
.
release
=
cifs_close
,
...
...
fs/exofs/file.c
View file @
aad4f8bb
...
@@ -67,9 +67,9 @@ static int exofs_flush(struct file *file, fl_owner_t id)
...
@@ -67,9 +67,9 @@ static int exofs_flush(struct file *file, fl_owner_t id)
const
struct
file_operations
exofs_file_operations
=
{
const
struct
file_operations
exofs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
.
open
=
generic_file_open
,
.
open
=
generic_file_open
,
...
...
fs/ext2/file.c
View file @
aad4f8bb
...
@@ -62,9 +62,9 @@ int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync)
...
@@ -62,9 +62,9 @@ int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync)
*/
*/
const
struct
file_operations
ext2_file_operations
=
{
const
struct
file_operations
ext2_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
unlocked_ioctl
=
ext2_ioctl
,
.
unlocked_ioctl
=
ext2_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
...
fs/ext3/file.c
View file @
aad4f8bb
...
@@ -50,9 +50,9 @@ static int ext3_release_file (struct inode * inode, struct file * filp)
...
@@ -50,9 +50,9 @@ static int ext3_release_file (struct inode * inode, struct file * filp)
const
struct
file_operations
ext3_file_operations
=
{
const
struct
file_operations
ext3_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
unlocked_ioctl
=
ext3_ioctl
,
.
unlocked_ioctl
=
ext3_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
...
fs/ext4/file.c
View file @
aad4f8bb
...
@@ -593,9 +593,9 @@ loff_t ext4_llseek(struct file *file, loff_t offset, int whence)
...
@@ -593,9 +593,9 @@ loff_t ext4_llseek(struct file *file, loff_t offset, int whence)
const
struct
file_operations
ext4_file_operations
=
{
const
struct
file_operations
ext4_file_operations
=
{
.
llseek
=
ext4_llseek
,
.
llseek
=
ext4_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
ext4_file_write
,
.
aio_write
=
ext4_file_write
,
.
unlocked_ioctl
=
ext4_ioctl
,
.
unlocked_ioctl
=
ext4_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
...
fs/f2fs/file.c
View file @
aad4f8bb
...
@@ -679,9 +679,9 @@ long f2fs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
...
@@ -679,9 +679,9 @@ long f2fs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
const
struct
file_operations
f2fs_file_operations
=
{
const
struct
file_operations
f2fs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
open
=
generic_file_open
,
.
open
=
generic_file_open
,
.
mmap
=
f2fs_file_mmap
,
.
mmap
=
f2fs_file_mmap
,
...
...
fs/fat/file.c
View file @
aad4f8bb
...
@@ -170,9 +170,9 @@ int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
...
@@ -170,9 +170,9 @@ int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
const
struct
file_operations
fat_file_operations
=
{
const
struct
file_operations
fat_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
.
release
=
fat_file_release
,
.
release
=
fat_file_release
,
...
...
fs/gfs2/file.c
View file @
aad4f8bb
...
@@ -1058,8 +1058,8 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
...
@@ -1058,8 +1058,8 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
const
struct
file_operations
gfs2_file_fops
=
{
const
struct
file_operations
gfs2_file_fops
=
{
.
llseek
=
gfs2_llseek
,
.
llseek
=
gfs2_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
gfs2_file_aio_write
,
.
aio_write
=
gfs2_file_aio_write
,
.
unlocked_ioctl
=
gfs2_ioctl
,
.
unlocked_ioctl
=
gfs2_ioctl
,
...
@@ -1090,8 +1090,8 @@ const struct file_operations gfs2_dir_fops = {
...
@@ -1090,8 +1090,8 @@ const struct file_operations gfs2_dir_fops = {
const
struct
file_operations
gfs2_file_fops_nolock
=
{
const
struct
file_operations
gfs2_file_fops_nolock
=
{
.
llseek
=
gfs2_llseek
,
.
llseek
=
gfs2_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
gfs2_file_aio_write
,
.
aio_write
=
gfs2_file_aio_write
,
.
unlocked_ioctl
=
gfs2_ioctl
,
.
unlocked_ioctl
=
gfs2_ioctl
,
...
...
fs/hfs/inode.c
View file @
aad4f8bb
...
@@ -674,8 +674,8 @@ static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,
...
@@ -674,8 +674,8 @@ static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,
static
const
struct
file_operations
hfs_file_operations
=
{
static
const
struct
file_operations
hfs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/hfsplus/inode.c
View file @
aad4f8bb
...
@@ -341,8 +341,8 @@ static const struct inode_operations hfsplus_file_inode_operations = {
...
@@ -341,8 +341,8 @@ static const struct inode_operations hfsplus_file_inode_operations = {
static
const
struct
file_operations
hfsplus_file_operations
=
{
static
const
struct
file_operations
hfsplus_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/hostfs/hostfs_kern.c
View file @
aad4f8bb
...
@@ -378,9 +378,9 @@ static int hostfs_fsync(struct file *file, loff_t start, loff_t end,
...
@@ -378,9 +378,9 @@ static int hostfs_fsync(struct file *file, loff_t start, loff_t end,
static
const
struct
file_operations
hostfs_file_fops
=
{
static
const
struct
file_operations
hostfs_file_fops
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/hpfs/file.c
View file @
aad4f8bb
...
@@ -197,8 +197,8 @@ const struct address_space_operations hpfs_aops = {
...
@@ -197,8 +197,8 @@ const struct address_space_operations hpfs_aops = {
const
struct
file_operations
hpfs_file_ops
=
const
struct
file_operations
hpfs_file_ops
=
{
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/jffs2/file.c
View file @
aad4f8bb
...
@@ -51,8 +51,8 @@ const struct file_operations jffs2_file_operations =
...
@@ -51,8 +51,8 @@ const struct file_operations jffs2_file_operations =
{
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
open
=
generic_file_open
,
.
open
=
generic_file_open
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
unlocked_ioctl
=
jffs2_ioctl
,
.
unlocked_ioctl
=
jffs2_ioctl
,
...
...
fs/jfs/file.c
View file @
aad4f8bb
...
@@ -152,8 +152,8 @@ const struct file_operations jfs_file_operations = {
...
@@ -152,8 +152,8 @@ const struct file_operations jfs_file_operations = {
.
open
=
jfs_open
,
.
open
=
jfs_open
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
...
...
fs/logfs/file.c
View file @
aad4f8bb
...
@@ -264,14 +264,14 @@ const struct inode_operations logfs_reg_iops = {
...
@@ -264,14 +264,14 @@ const struct inode_operations logfs_reg_iops = {
};
};
const
struct
file_operations
logfs_reg_fops
=
{
const
struct
file_operations
logfs_reg_fops
=
{
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
fsync
=
logfs_fsync
,
.
fsync
=
logfs_fsync
,
.
unlocked_ioctl
=
logfs_ioctl
,
.
unlocked_ioctl
=
logfs_ioctl
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
mmap
=
generic_file_readonly_mmap
,
.
mmap
=
generic_file_readonly_mmap
,
.
open
=
generic_file_open
,
.
open
=
generic_file_open
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
};
};
...
...
fs/minix/file.c
View file @
aad4f8bb
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
*/
*/
const
struct
file_operations
minix_file_operations
=
{
const
struct
file_operations
minix_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/nilfs2/file.c
View file @
aad4f8bb
...
@@ -152,9 +152,9 @@ static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma)
...
@@ -152,9 +152,9 @@ static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma)
*/
*/
const
struct
file_operations
nilfs_file_operations
=
{
const
struct
file_operations
nilfs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
unlocked_ioctl
=
nilfs_ioctl
,
.
unlocked_ioctl
=
nilfs_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
...
fs/ntfs/file.c
View file @
aad4f8bb
...
@@ -2200,8 +2200,8 @@ static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end,
...
@@ -2200,8 +2200,8 @@ static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end,
const
struct
file_operations
ntfs_file_ops
=
{
const
struct
file_operations
ntfs_file_ops
=
{
.
llseek
=
generic_file_llseek
,
/* Seek inside file. */
.
llseek
=
generic_file_llseek
,
/* Seek inside file. */
.
read
=
do_sync_read
,
/* Read from file. */
.
read
=
new_sync_read
,
/* Read from file. */
.
aio_read
=
generic_file_aio_read
,
/* Async read from file. */
.
read_iter
=
generic_file_read_iter
,
/* Async read from file. */
#ifdef NTFS_RW
#ifdef NTFS_RW
.
write
=
do_sync_write
,
/* Write to file. */
.
write
=
do_sync_write
,
/* Write to file. */
.
aio_write
=
ntfs_file_aio_write
,
/* Async write to file. */
.
aio_write
=
ntfs_file_aio_write
,
/* Async write to file. */
...
...
fs/omfs/file.c
View file @
aad4f8bb
...
@@ -337,9 +337,9 @@ static sector_t omfs_bmap(struct address_space *mapping, sector_t block)
...
@@ -337,9 +337,9 @@ static sector_t omfs_bmap(struct address_space *mapping, sector_t block)
const
struct
file_operations
omfs_file_operations
=
{
const
struct
file_operations
omfs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
.
fsync
=
generic_file_fsync
,
.
fsync
=
generic_file_fsync
,
...
...
fs/ramfs/file-mmu.c
View file @
aad4f8bb
...
@@ -31,8 +31,8 @@
...
@@ -31,8 +31,8 @@
#include "internal.h"
#include "internal.h"
const
struct
file_operations
ramfs_file_operations
=
{
const
struct
file_operations
ramfs_file_operations
=
{
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/ramfs/file-nommu.c
View file @
aad4f8bb
...
@@ -37,8 +37,8 @@ static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
...
@@ -37,8 +37,8 @@ static int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma);
const
struct
file_operations
ramfs_file_operations
=
{
const
struct
file_operations
ramfs_file_operations
=
{
.
mmap
=
ramfs_nommu_mmap
,
.
mmap
=
ramfs_nommu_mmap
,
.
get_unmapped_area
=
ramfs_nommu_get_unmapped_area
,
.
get_unmapped_area
=
ramfs_nommu_get_unmapped_area
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
fsync
=
noop_fsync
,
.
fsync
=
noop_fsync
,
...
...
fs/read_write.c
View file @
aad4f8bb
...
@@ -29,8 +29,8 @@ typedef ssize_t (*iter_fn_t)(struct kiocb *, struct iov_iter *);
...
@@ -29,8 +29,8 @@ typedef ssize_t (*iter_fn_t)(struct kiocb *, struct iov_iter *);
const
struct
file_operations
generic_ro_fops
=
{
const
struct
file_operations
generic_ro_fops
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
mmap
=
generic_file_readonly_mmap
,
.
mmap
=
generic_file_readonly_mmap
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
};
};
...
...
fs/reiserfs/file.c
View file @
aad4f8bb
...
@@ -235,7 +235,7 @@ int reiserfs_commit_page(struct inode *inode, struct page *page,
...
@@ -235,7 +235,7 @@ int reiserfs_commit_page(struct inode *inode, struct page *page,
}
}
const
struct
file_operations
reiserfs_file_operations
=
{
const
struct
file_operations
reiserfs_file_operations
=
{
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
unlocked_ioctl
=
reiserfs_ioctl
,
.
unlocked_ioctl
=
reiserfs_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
@@ -245,7 +245,7 @@ const struct file_operations reiserfs_file_operations = {
...
@@ -245,7 +245,7 @@ const struct file_operations reiserfs_file_operations = {
.
open
=
reiserfs_file_open
,
.
open
=
reiserfs_file_open
,
.
release
=
reiserfs_file_release
,
.
release
=
reiserfs_file_release
,
.
fsync
=
reiserfs_sync_file
,
.
fsync
=
reiserfs_sync_file
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
.
splice_write
=
generic_file_splice_write
,
.
splice_write
=
generic_file_splice_write
,
...
...
fs/romfs/mmap-nommu.c
View file @
aad4f8bb
...
@@ -72,8 +72,8 @@ static int romfs_mmap(struct file *file, struct vm_area_struct *vma)
...
@@ -72,8 +72,8 @@ static int romfs_mmap(struct file *file, struct vm_area_struct *vma)
const
struct
file_operations
romfs_ro_fops
=
{
const
struct
file_operations
romfs_ro_fops
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
splice_read
=
generic_file_splice_read
,
.
splice_read
=
generic_file_splice_read
,
.
mmap
=
romfs_mmap
,
.
mmap
=
romfs_mmap
,
.
get_unmapped_area
=
romfs_get_unmapped_area
,
.
get_unmapped_area
=
romfs_get_unmapped_area
,
...
...
fs/sysv/file.c
View file @
aad4f8bb
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
*/
*/
const
struct
file_operations
sysv_file_operations
=
{
const
struct
file_operations
sysv_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/ubifs/file.c
View file @
aad4f8bb
...
@@ -1582,9 +1582,9 @@ const struct inode_operations ubifs_symlink_inode_operations = {
...
@@ -1582,9 +1582,9 @@ const struct inode_operations ubifs_symlink_inode_operations = {
const
struct
file_operations
ubifs_file_operations
=
{
const
struct
file_operations
ubifs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
aio_write
=
ubifs_aio_write
,
.
aio_write
=
ubifs_aio_write
,
.
mmap
=
ubifs_file_mmap
,
.
mmap
=
ubifs_file_mmap
,
.
fsync
=
ubifs_fsync
,
.
fsync
=
ubifs_fsync
,
...
...
fs/udf/file.c
View file @
aad4f8bb
...
@@ -252,8 +252,8 @@ static int udf_release_file(struct inode *inode, struct file *filp)
...
@@ -252,8 +252,8 @@ static int udf_release_file(struct inode *inode, struct file *filp)
}
}
const
struct
file_operations
udf_file_operations
=
{
const
struct
file_operations
udf_file_operations
=
{
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
unlocked_ioctl
=
udf_ioctl
,
.
unlocked_ioctl
=
udf_ioctl
,
.
open
=
generic_file_open
,
.
open
=
generic_file_open
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
fs/ufs/file.c
View file @
aad4f8bb
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
const
struct
file_operations
ufs_file_operations
=
{
const
struct
file_operations
ufs_file_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
do
_sync_read
,
.
read
=
new
_sync_read
,
.
aio_read
=
generic_file_aio_read
,
.
read_iter
=
generic_file_read_iter
,
.
write
=
do_sync_write
,
.
write
=
do_sync_write
,
.
aio_write
=
generic_file_aio_write
,
.
aio_write
=
generic_file_aio_write
,
.
mmap
=
generic_file_mmap
,
.
mmap
=
generic_file_mmap
,
...
...
Kirill Smelkov
@kirr
mentioned in commit
b6f9e215
·
Jun 08, 2016
mentioned in commit
b6f9e215
mentioned in commit b6f9e215ccef639113fae18fc652d201e85aabc0
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment