more trivial ->iterate_shared conversions
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 1 May 2016 02:37:34 +0000 (22:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 May 2016 15:41:14 +0000 (11:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 files changed:
fs/bfs/dir.c
fs/cramfs/inode.c
fs/efs/dir.c
fs/exofs/dir.c
fs/freevxfs/vxfs_lookup.c
fs/jffs2/dir.c
fs/libfs.c
fs/logfs/dir.c
fs/nilfs2/dir.c
fs/omfs/dir.c
fs/openpromfs/inode.c
fs/qnx4/dir.c
fs/qnx6/dir.c
fs/reiserfs/dir.c
fs/ubifs/dir.c
fs/udf/dir.c

index 3ec6113146c0b6de610d507f85704f2d7187ad7e..34a5bc2f12902f77e009c8a44b28ca17679765c8 100644 (file)
@@ -70,7 +70,7 @@ static int bfs_readdir(struct file *f, struct dir_context *ctx)
 
 const struct file_operations bfs_dir_operations = {
        .read           = generic_read_dir,
-       .iterate        = bfs_readdir,
+       .iterate_shared = bfs_readdir,
        .fsync          = generic_file_fsync,
        .llseek         = generic_file_llseek,
 };
index 3a32ddf98095faad5f56d2332ab35ef110e90e58..7919967488cbd77979930c1be028507a4457b87e 100644 (file)
@@ -561,7 +561,7 @@ static const struct address_space_operations cramfs_aops = {
 static const struct file_operations cramfs_directory_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = cramfs_readdir,
+       .iterate_shared = cramfs_readdir,
 };
 
 static const struct inode_operations cramfs_dir_inode_operations = {
index ce63b24f7c3e2a95b5f19d6ef1b6f376477ddf64..a7be96e5f1cb802a882a273903eeeceeb6276c2b 100644 (file)
@@ -12,7 +12,7 @@ static int efs_readdir(struct file *, struct dir_context *);
 const struct file_operations efs_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = efs_readdir,
+       .iterate_shared = efs_readdir,
 };
 
 const struct inode_operations efs_dir_inode_operations = {
@@ -100,4 +100,3 @@ static int efs_readdir(struct file *file, struct dir_context *ctx)
        ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;
        return 0;
 }
-
index a7661aaead9ac633946b088bf6a2cef9ec8b9611..f69a1b5826a5c70975a8ebbc4520a143d0ba188c 100644 (file)
@@ -657,5 +657,5 @@ not_empty:
 const struct file_operations exofs_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = exofs_readdir,
+       .iterate_shared = exofs_readdir,
 };
index a49e0cfbb686d3448a567dcf76434a041b0b326a..6d576b97f2c8ff9abcda09e58ccc55a088e78f2f 100644 (file)
@@ -58,7 +58,7 @@ const struct inode_operations vxfs_dir_inode_ops = {
 const struct file_operations vxfs_dir_operations = {
        .llseek =               generic_file_llseek,
        .read =                 generic_read_dir,
-       .iterate =              vxfs_readdir,
+       .iterate_shared =       vxfs_readdir,
 };
 
 static inline u_long
index 7a9579e03dbb2e5b194731b7a47dcca8501bc829..84c4bf3631a25b85143856c43b6adcae673b94c4 100644 (file)
@@ -40,7 +40,7 @@ static int jffs2_rename (struct inode *, struct dentry *,
 const struct file_operations jffs2_dir_operations =
 {
        .read =         generic_read_dir,
-       .iterate =      jffs2_readdir,
+       .iterate_shared=jffs2_readdir,
        .unlocked_ioctl=jffs2_ioctl,
        .fsync =        jffs2_fsync,
        .llseek =       generic_file_llseek,
index dd8a074482acae7e02afb408f031795640457ebb..8765ff1adc07dcc63252615927dff818628649cd 100644 (file)
@@ -1166,7 +1166,7 @@ static int empty_dir_readdir(struct file *file, struct dir_context *ctx)
 static const struct file_operations empty_dir_operations = {
        .llseek         = empty_dir_llseek,
        .read           = generic_read_dir,
-       .iterate        = empty_dir_readdir,
+       .iterate_shared = empty_dir_readdir,
        .fsync          = noop_fsync,
 };
 
index ddbed2be5366ecfab739ec61fcae09b3859d3c06..c65decae7921a16b2d64687e4ba82b438ffd6284 100644 (file)
@@ -791,7 +791,7 @@ const struct inode_operations logfs_dir_iops = {
 const struct file_operations logfs_dir_fops = {
        .fsync          = logfs_fsync,
        .unlocked_ioctl = logfs_ioctl,
-       .iterate        = logfs_readdir,
+       .iterate_shared = logfs_readdir,
        .read           = generic_read_dir,
        .llseek         = default_llseek,
 };
index 2eaed9254eb2c1376bc09db49d3876c28facec9b..6723d45a631a89233529f4c4782c40fb6c394fe0 100644 (file)
@@ -661,7 +661,7 @@ not_empty:
 const struct file_operations nilfs_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = nilfs_readdir,
+       .iterate_shared = nilfs_readdir,
        .unlocked_ioctl = nilfs_ioctl,
 #ifdef CONFIG_COMPAT
        .compat_ioctl   = nilfs_compat_ioctl,
index f833bf8d5792928ff9cecacfe83f1efd3300df68..c8cbf3b606456518b3d043c21ab683bc94e4ad7b 100644 (file)
@@ -452,6 +452,6 @@ const struct inode_operations omfs_dir_inops = {
 
 const struct file_operations omfs_dir_operations = {
        .read = generic_read_dir,
-       .iterate = omfs_readdir,
+       .iterate_shared = omfs_readdir,
        .llseek = generic_file_llseek,
 };
index b61b883c8ff8e2f2634ddfe6eb0465c2e367c4ff..c7a86993d97e3d3ee6c2d817659ee8809a616a80 100644 (file)
@@ -166,7 +166,7 @@ static int openpromfs_readdir(struct file *, struct dir_context *);
 
 static const struct file_operations openprom_operations = {
        .read           = generic_read_dir,
-       .iterate        = openpromfs_readdir,
+       .iterate_shared = openpromfs_readdir,
        .llseek         = generic_file_llseek,
 };
 
index b218f965817bf336625f64dc2d089d7e5f1ba9af..781056a0480f442942b69b85712ed7d697607f41 100644 (file)
@@ -71,7 +71,7 @@ const struct file_operations qnx4_dir_operations =
 {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = qnx4_readdir,
+       .iterate_shared = qnx4_readdir,
        .fsync          = generic_file_fsync,
 };
 
index 144ceda4948e92ab58e2ba7d524c9bf73afd75f2..27637e0bdc9f19e28005a7478049a376ebd20632 100644 (file)
@@ -272,7 +272,7 @@ found:
 const struct file_operations qnx6_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = qnx6_readdir,
+       .iterate_shared = qnx6_readdir,
        .fsync          = generic_file_fsync,
 };
 
index 3abd4004184ba0b49ddc91dac59795230125e133..45aa05e2232f9ad6e7a752e794b404377a8822d3 100644 (file)
@@ -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 = {
        .llseek = generic_file_llseek,
        .read = generic_read_dir,
-       .iterate = reiserfs_readdir,
+       .iterate_shared = reiserfs_readdir,
        .fsync = reiserfs_dir_fsync,
        .unlocked_ioctl = reiserfs_ioctl,
 #ifdef CONFIG_COMPAT
index 795992a8321e9e0c9531c92f97c91cc10835cc02..34a5356d0ce7eaefc447b2b046f6cfce4a2d8353 100644 (file)
@@ -1195,7 +1195,7 @@ const struct file_operations ubifs_dir_operations = {
        .llseek         = generic_file_llseek,
        .release        = ubifs_dir_release,
        .read           = generic_read_dir,
-       .iterate        = ubifs_readdir,
+       .iterate_shared = ubifs_readdir,
        .fsync          = ubifs_fsync,
        .unlocked_ioctl = ubifs_ioctl,
 #ifdef CONFIG_COMPAT
index b51b371b874a0bcace50e83aeba7d3a06f55c67a..4c5593abc553e6113a3c423a877f9565a73b8635 100644 (file)
@@ -202,7 +202,7 @@ out:
 const struct file_operations udf_dir_operations = {
        .llseek                 = generic_file_llseek,
        .read                   = generic_read_dir,
-       .iterate                = udf_readdir,
+       .iterate_shared         = udf_readdir,
        .unlocked_ioctl         = udf_ioctl,
        .fsync                  = generic_file_fsync,
 };