Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39f44be3 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

[POWERPC] Fix SPU coredump code for max_fdset removal


    
Commit bbea9f69 removed the max_fdset
element of struct fdtable.  It appears that checking max_fds is
sufficient now.

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent dae4828d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ static int spufs_arch_notes_size(void)
	struct fdtable *fdt = files_fdtable(current->files);
	int size = 0, fd;

	for (fd = 0; fd < fdt->max_fdset && fd < fdt->max_fds; fd++) {
	for (fd = 0; fd < fdt->max_fds; fd++) {
		if (FD_ISSET(fd, fdt->open_fds)) {
			struct file *file = fcheck(fd);