Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / fs / exec.c
index 7adb43f..4b72a99 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -2115,8 +2115,8 @@ static int umh_pipe_setup(struct subprocess_info *info, struct cred *new)
        fd_install(0, rp);
        spin_lock(&cf->file_lock);
        fdt = files_fdtable(cf);
-       FD_SET(0, fdt->open_fds);
-       FD_CLR(0, fdt->close_on_exec);
+       __set_open_fd(0, fdt);
+       __clear_close_on_exec(0, fdt);
        spin_unlock(&cf->file_lock);
 
        /* and disallow core files too */