simple local filesystems: switch to ->iterate_shared()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Apr 2016 03:42:46 +0000 (23:42 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:49:32 +0000 (19:49 -0400)
no changes needed (XFS isn't simple, but it has the same parallelism
in the interesting parts exercised from CXFS).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/affs/dir.c
fs/ext2/dir.c
fs/minix/dir.c
fs/sysv/dir.c
fs/ufs/dir.c
fs/xfs/xfs_file.c

index ac4f318aafba875a6df22b4ce3784f8f00278044..f1e7294381c5aa48a386a3a7c0db7f4832c568ec 100644 (file)
@@ -20,7 +20,7 @@ static int affs_readdir(struct file *, struct dir_context *);
 const struct file_operations affs_dir_operations = {
        .read           = generic_read_dir,
        .llseek         = generic_file_llseek,
-       .iterate        = affs_readdir,
+       .iterate_shared = affs_readdir,
        .fsync          = affs_file_fsync,
 };
 
index f0f4363a15b2b00534c27c335380ff7f5ad50bde..19efd1197fa511c0f45229ec9bbdfb267e9f7a7d 100644 (file)
@@ -716,7 +716,7 @@ not_empty:
 const struct file_operations ext2_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = ext2_readdir,
+       .iterate_shared = ext2_readdir,
        .unlocked_ioctl = ext2_ioctl,
 #ifdef CONFIG_COMPAT
        .compat_ioctl   = ext2_compat_ioctl,
index 33957c07cd11a3b74f4eb6f4b563af07c17c1d31..31dcd515b9d506ff9b8d26989a9d75dc9bce10dc 100644 (file)
@@ -21,7 +21,7 @@ static int minix_readdir(struct file *, struct dir_context *);
 const struct file_operations minix_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = minix_readdir,
+       .iterate_shared = minix_readdir,
        .fsync          = generic_file_fsync,
 };
 
index c0f0a3e643eb7cb5dbc5d3469f08625af2ae43ec..2661b77fc8a79b18071088236382421bc2eb21b8 100644 (file)
@@ -23,7 +23,7 @@ static int sysv_readdir(struct file *, struct dir_context *);
 const struct file_operations sysv_dir_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_read_dir,
-       .iterate        = sysv_readdir,
+       .iterate_shared = sysv_readdir,
        .fsync          = generic_file_fsync,
 };
 
index 4c07421453af4dc74cece3868ae1c04db2d2ba05..57dcceda17d670431191a1229aca954df3334c4a 100644 (file)
@@ -653,7 +653,7 @@ not_empty:
 
 const struct file_operations ufs_dir_operations = {
        .read           = generic_read_dir,
-       .iterate        = ufs_readdir,
+       .iterate_shared = ufs_readdir,
        .fsync          = generic_file_fsync,
        .llseek         = generic_file_llseek,
 };
index 569938a4a357341915f3c0553a16fa5acd782e0f..345fd85a1997718a8a9adb251a71ed5d236949d2 100644 (file)
@@ -1714,7 +1714,7 @@ const struct file_operations xfs_file_operations = {
 const struct file_operations xfs_dir_file_operations = {
        .open           = xfs_dir_open,
        .read           = generic_read_dir,
-       .iterate        = xfs_file_readdir,
+       .iterate_shared = xfs_file_readdir,
        .llseek         = generic_file_llseek,
        .unlocked_ioctl = xfs_file_ioctl,
 #ifdef CONFIG_COMPAT