mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge 4.2-rc6 into char-misc-next
We want the fixes in Linus's tree in here as well. Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
commit
5d44f4b348
459 changed files with 6088 additions and 2695 deletions
|
|
@ -683,11 +683,8 @@ static void *vhost_kvzalloc(unsigned long size)
|
|||
{
|
||||
void *n = kzalloc(size, GFP_KERNEL | __GFP_NOWARN | __GFP_REPEAT);
|
||||
|
||||
if (!n) {
|
||||
if (!n)
|
||||
n = vzalloc(size);
|
||||
if (!n)
|
||||
return ERR_PTR(-ENOMEM);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
|
|
@ -995,6 +992,7 @@ 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue