rk: revert to v3.10
[firefly-linux-kernel-4.4.55.git] / drivers / vhost / vhost.c
index 3aabc652f1b945a455c6fe1231546dc8f043878d..60aa5ad09a2fdb74a457ecadf0130f056f114c8e 100644 (file)
@@ -855,7 +855,6 @@ long vhost_dev_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp)
                }
                if (eventfp != d->log_file) {
                        filep = d->log_file;
-                       d->log_file = eventfp;
                        ctx = d->log_ctx;
                        d->log_ctx = eventfp ?
                                eventfd_ctx_fileget(eventfp) : NULL;