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
c51da20c
Commit
c51da20c
authored
Apr 30, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more trivial ->iterate_shared conversions
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
060ff688
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
16 additions
and
17 deletions
+16
-17
fs/bfs/dir.c
fs/bfs/dir.c
+1
-1
fs/cramfs/inode.c
fs/cramfs/inode.c
+1
-1
fs/efs/dir.c
fs/efs/dir.c
+1
-2
fs/exofs/dir.c
fs/exofs/dir.c
+1
-1
fs/freevxfs/vxfs_lookup.c
fs/freevxfs/vxfs_lookup.c
+1
-1
fs/jffs2/dir.c
fs/jffs2/dir.c
+1
-1
fs/libfs.c
fs/libfs.c
+1
-1
fs/logfs/dir.c
fs/logfs/dir.c
+1
-1
fs/nilfs2/dir.c
fs/nilfs2/dir.c
+1
-1
fs/omfs/dir.c
fs/omfs/dir.c
+1
-1
fs/openpromfs/inode.c
fs/openpromfs/inode.c
+1
-1
fs/qnx4/dir.c
fs/qnx4/dir.c
+1
-1
fs/qnx6/dir.c
fs/qnx6/dir.c
+1
-1
fs/reiserfs/dir.c
fs/reiserfs/dir.c
+1
-1
fs/ubifs/dir.c
fs/ubifs/dir.c
+1
-1
fs/udf/dir.c
fs/udf/dir.c
+1
-1
No files found.
fs/bfs/dir.c
View file @
c51da20c
...
@@ -70,7 +70,7 @@ static int bfs_readdir(struct file *f, struct dir_context *ctx)
...
@@ -70,7 +70,7 @@ static int bfs_readdir(struct file *f, struct dir_context *ctx)
const
struct
file_operations
bfs_dir_operations
=
{
const
struct
file_operations
bfs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
bfs_readdir
,
.
iterate
_shared
=
bfs_readdir
,
.
fsync
=
generic_file_fsync
,
.
fsync
=
generic_file_fsync
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
};
};
...
...
fs/cramfs/inode.c
View file @
c51da20c
...
@@ -561,7 +561,7 @@ static const struct address_space_operations cramfs_aops = {
...
@@ -561,7 +561,7 @@ static const struct address_space_operations cramfs_aops = {
static
const
struct
file_operations
cramfs_directory_operations
=
{
static
const
struct
file_operations
cramfs_directory_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
cramfs_readdir
,
.
iterate
_shared
=
cramfs_readdir
,
};
};
static
const
struct
inode_operations
cramfs_dir_inode_operations
=
{
static
const
struct
inode_operations
cramfs_dir_inode_operations
=
{
...
...
fs/efs/dir.c
View file @
c51da20c
...
@@ -12,7 +12,7 @@ static int efs_readdir(struct file *, struct dir_context *);
...
@@ -12,7 +12,7 @@ static int efs_readdir(struct file *, struct dir_context *);
const
struct
file_operations
efs_dir_operations
=
{
const
struct
file_operations
efs_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
efs_readdir
,
.
iterate
_shared
=
efs_readdir
,
};
};
const
struct
inode_operations
efs_dir_inode_operations
=
{
const
struct
inode_operations
efs_dir_inode_operations
=
{
...
@@ -100,4 +100,3 @@ static int efs_readdir(struct file *file, struct dir_context *ctx)
...
@@ -100,4 +100,3 @@ static int efs_readdir(struct file *file, struct dir_context *ctx)
ctx
->
pos
=
(
block
<<
EFS_DIRBSIZE_BITS
)
|
slot
;
ctx
->
pos
=
(
block
<<
EFS_DIRBSIZE_BITS
)
|
slot
;
return
0
;
return
0
;
}
}
fs/exofs/dir.c
View file @
c51da20c
...
@@ -657,5 +657,5 @@ int exofs_empty_dir(struct inode *inode)
...
@@ -657,5 +657,5 @@ int exofs_empty_dir(struct inode *inode)
const
struct
file_operations
exofs_dir_operations
=
{
const
struct
file_operations
exofs_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
exofs_readdir
,
.
iterate
_shared
=
exofs_readdir
,
};
};
fs/freevxfs/vxfs_lookup.c
View file @
c51da20c
...
@@ -58,7 +58,7 @@ const struct inode_operations vxfs_dir_inode_ops = {
...
@@ -58,7 +58,7 @@ const struct inode_operations vxfs_dir_inode_ops = {
const
struct
file_operations
vxfs_dir_operations
=
{
const
struct
file_operations
vxfs_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
vxfs_readdir
,
.
iterate
_shared
=
vxfs_readdir
,
};
};
static
inline
u_long
static
inline
u_long
...
...
fs/jffs2/dir.c
View file @
c51da20c
...
@@ -40,7 +40,7 @@ static int jffs2_rename (struct inode *, struct dentry *,
...
@@ -40,7 +40,7 @@ static int jffs2_rename (struct inode *, struct dentry *,
const
struct
file_operations
jffs2_dir_operations
=
const
struct
file_operations
jffs2_dir_operations
=
{
{
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
jffs2_readdir
,
.
iterate
_shared
=
jffs2_readdir
,
.
unlocked_ioctl
=
jffs2_ioctl
,
.
unlocked_ioctl
=
jffs2_ioctl
,
.
fsync
=
jffs2_fsync
,
.
fsync
=
jffs2_fsync
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
...
...
fs/libfs.c
View file @
c51da20c
...
@@ -1166,7 +1166,7 @@ static int empty_dir_readdir(struct file *file, struct dir_context *ctx)
...
@@ -1166,7 +1166,7 @@ static int empty_dir_readdir(struct file *file, struct dir_context *ctx)
static
const
struct
file_operations
empty_dir_operations
=
{
static
const
struct
file_operations
empty_dir_operations
=
{
.
llseek
=
empty_dir_llseek
,
.
llseek
=
empty_dir_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
empty_dir_readdir
,
.
iterate
_shared
=
empty_dir_readdir
,
.
fsync
=
noop_fsync
,
.
fsync
=
noop_fsync
,
};
};
...
...
fs/logfs/dir.c
View file @
c51da20c
...
@@ -791,7 +791,7 @@ const struct inode_operations logfs_dir_iops = {
...
@@ -791,7 +791,7 @@ const struct inode_operations logfs_dir_iops = {
const
struct
file_operations
logfs_dir_fops
=
{
const
struct
file_operations
logfs_dir_fops
=
{
.
fsync
=
logfs_fsync
,
.
fsync
=
logfs_fsync
,
.
unlocked_ioctl
=
logfs_ioctl
,
.
unlocked_ioctl
=
logfs_ioctl
,
.
iterate
=
logfs_readdir
,
.
iterate
_shared
=
logfs_readdir
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
llseek
=
default_llseek
,
.
llseek
=
default_llseek
,
};
};
fs/nilfs2/dir.c
View file @
c51da20c
...
@@ -661,7 +661,7 @@ int nilfs_empty_dir(struct inode *inode)
...
@@ -661,7 +661,7 @@ int nilfs_empty_dir(struct inode *inode)
const
struct
file_operations
nilfs_dir_operations
=
{
const
struct
file_operations
nilfs_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
nilfs_readdir
,
.
iterate
_shared
=
nilfs_readdir
,
.
unlocked_ioctl
=
nilfs_ioctl
,
.
unlocked_ioctl
=
nilfs_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
nilfs_compat_ioctl
,
.
compat_ioctl
=
nilfs_compat_ioctl
,
...
...
fs/omfs/dir.c
View file @
c51da20c
...
@@ -452,6 +452,6 @@ const struct inode_operations omfs_dir_inops = {
...
@@ -452,6 +452,6 @@ const struct inode_operations omfs_dir_inops = {
const
struct
file_operations
omfs_dir_operations
=
{
const
struct
file_operations
omfs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
omfs_readdir
,
.
iterate
_shared
=
omfs_readdir
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
};
};
fs/openpromfs/inode.c
View file @
c51da20c
...
@@ -166,7 +166,7 @@ static int openpromfs_readdir(struct file *, struct dir_context *);
...
@@ -166,7 +166,7 @@ static int openpromfs_readdir(struct file *, struct dir_context *);
static
const
struct
file_operations
openprom_operations
=
{
static
const
struct
file_operations
openprom_operations
=
{
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
openpromfs_readdir
,
.
iterate
_shared
=
openpromfs_readdir
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
};
};
...
...
fs/qnx4/dir.c
View file @
c51da20c
...
@@ -71,7 +71,7 @@ const struct file_operations qnx4_dir_operations =
...
@@ -71,7 +71,7 @@ const struct file_operations qnx4_dir_operations =
{
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
qnx4_readdir
,
.
iterate
_shared
=
qnx4_readdir
,
.
fsync
=
generic_file_fsync
,
.
fsync
=
generic_file_fsync
,
};
};
...
...
fs/qnx6/dir.c
View file @
c51da20c
...
@@ -272,7 +272,7 @@ unsigned qnx6_find_entry(int len, struct inode *dir, const char *name,
...
@@ -272,7 +272,7 @@ unsigned qnx6_find_entry(int len, struct inode *dir, const char *name,
const
struct
file_operations
qnx6_dir_operations
=
{
const
struct
file_operations
qnx6_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
qnx6_readdir
,
.
iterate
_shared
=
qnx6_readdir
,
.
fsync
=
generic_file_fsync
,
.
fsync
=
generic_file_fsync
,
};
};
...
...
fs/reiserfs/dir.c
View file @
c51da20c
...
@@ -20,7 +20,7 @@ static int reiserfs_dir_fsync(struct file *filp, loff_t start, loff_t end,
...
@@ -20,7 +20,7 @@ static int reiserfs_dir_fsync(struct file *filp, loff_t start, loff_t end,
const
struct
file_operations
reiserfs_dir_operations
=
{
const
struct
file_operations
reiserfs_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
reiserfs_readdir
,
.
iterate
_shared
=
reiserfs_readdir
,
.
fsync
=
reiserfs_dir_fsync
,
.
fsync
=
reiserfs_dir_fsync
,
.
unlocked_ioctl
=
reiserfs_ioctl
,
.
unlocked_ioctl
=
reiserfs_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
...
fs/ubifs/dir.c
View file @
c51da20c
...
@@ -1195,7 +1195,7 @@ const struct file_operations ubifs_dir_operations = {
...
@@ -1195,7 +1195,7 @@ const struct file_operations ubifs_dir_operations = {
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
release
=
ubifs_dir_release
,
.
release
=
ubifs_dir_release
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
ubifs_readdir
,
.
iterate
_shared
=
ubifs_readdir
,
.
fsync
=
ubifs_fsync
,
.
fsync
=
ubifs_fsync
,
.
unlocked_ioctl
=
ubifs_ioctl
,
.
unlocked_ioctl
=
ubifs_ioctl
,
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
...
...
fs/udf/dir.c
View file @
c51da20c
...
@@ -202,7 +202,7 @@ static int udf_readdir(struct file *file, struct dir_context *ctx)
...
@@ -202,7 +202,7 @@ static int udf_readdir(struct file *file, struct dir_context *ctx)
const
struct
file_operations
udf_dir_operations
=
{
const
struct
file_operations
udf_dir_operations
=
{
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
iterate
=
udf_readdir
,
.
iterate
_shared
=
udf_readdir
,
.
unlocked_ioctl
=
udf_ioctl
,
.
unlocked_ioctl
=
udf_ioctl
,
.
fsync
=
generic_file_fsync
,
.
fsync
=
generic_file_fsync
,
};
};
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