]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/exec.c
[XFS] Fix UP build breakage due to undefined m_icsb_mutex.
[linux-2.6-omap-h63xx.git] / fs / exec.c
index 12d8cd461b412378fe8d16b8e39c7a330770a649..11fe93f7363c9dfb0cd05f52992ac0e6dd6bba9c 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -783,7 +783,7 @@ static void flush_old_files(struct files_struct * files)
                j++;
                i = j * __NFDBITS;
                fdt = files_fdtable(files);
-               if (i >= fdt->max_fds || i >= fdt->max_fdset)
+               if (i >= fdt->max_fds)
                        break;
                set = fdt->close_on_exec->fds_bits[j];
                if (!set)