Replace the fd_sets in struct fdtable with an array of unsigned longs
[pandora-kernel.git] / kernel / exit.c
index 4b4042f..4db0200 100644 (file)
@@ -473,7 +473,7 @@ static void close_files(struct files_struct * files)
                i = j * __NFDBITS;
                if (i >= fdt->max_fds)
                        break;
-               set = fdt->open_fds->fds_bits[j++];
+               set = fdt->open_fds[j++];
                while (set) {
                        if (set & 1) {
                                struct file * file = xchg(&fdt->fd[i], NULL);