summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/modules/vfs_aio_fork.c2
-rw-r--r--source3/smbd/files.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9200802128..69fd591057 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6378,7 +6378,7 @@ void file_close_pid(uint16 smbpid, int vuid);
void file_init(void);
void file_close_user(int vuid);
void file_dump_open_table(void);
-struct files_struct *file_walk_table(
+struct files_struct *files_forall(
struct files_struct *(*fn)(struct files_struct *fsp,
void *private_data),
void *private_data);
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index c725fa6b90..ebad4b4c43 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -479,7 +479,7 @@ static NTSTATUS create_aio_child(struct aio_child_list *children,
if (result->pid == 0) {
close(fdpair[0]);
result->sockfd = fdpair[1];
- file_walk_table(close_fsp_fd, NULL);
+ files_forall(close_fsp_fd, NULL);
aio_child_loop(result->sockfd, result->map);
}
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 6b8e96e733..abd654c015 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -222,7 +222,7 @@ void file_close_user(int vuid)
* Walk the files table until "fn" returns non-NULL
*/
-struct files_struct *file_walk_table(
+struct files_struct *files_forall(
struct files_struct *(*fn)(struct files_struct *fsp,
void *private_data),
void *private_data)