X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=fs%2Fautofs4%2Fdev-ioctl.c;h=ebedfb741cc375ad02ca56a571fd71e9108c5bfc;hp=38a2f2c512d70f601499cacfa32fbed8fec30196;hb=94b798ff0d7d4c30e38f9b61fc29fd17472221f9;hpb=a4b54bb06240ced3240474c48d30398d15a654d2;ds=sidebyside diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c index 38a2f2c512d7..ebedfb741cc3 100644 --- a/fs/autofs4/dev-ioctl.c +++ b/fs/autofs4/dev-ioctl.c @@ -237,7 +237,7 @@ static void autofs_dev_ioctl_fd_install(unsigned int fd, struct file *file) fdt = files_fdtable(files); BUG_ON(fdt->fd[fd] != NULL); rcu_assign_pointer(fdt->fd[fd], file); - FD_SET(fd, fdt->close_on_exec); + __set_close_on_exec(fd, fdt); spin_unlock(&files->file_lock); }