]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/select.c
Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-artful-kernel.git] / fs / select.c
index 6fb8943d580bb178c35b900cff675e39c72ec259..17d33d09fc16f4843c72f9c7444dfdb3fb738952 100644 (file)
@@ -348,7 +348,7 @@ static int max_select_fd(unsigned long n, fd_set_bits *fds)
        set = ~(~0UL << (n & (__NFDBITS-1)));
        n /= __NFDBITS;
        fdt = files_fdtable(current->files);
-       open_fds = fdt->open_fds->fds_bits+n;
+       open_fds = fdt->open_fds + n;
        max = 0;
        if (set) {
                set &= BITS(fds, n);