diff options
author | 2017-04-10 15:21:55 +0200 | |
---|---|---|
committer | 2017-04-10 15:21:55 +0200 | |
commit | f78a8236c6502760705399dfa42e22ab11aa1e6b (patch) | |
tree | d965f09daff0d531c63e35c764e7061f9c43afe7 /drivers/staging/android | |
parent | staging: rtl8723bs: core: rtw_cmd: drop unneeded null tests (diff) | |
parent | Linux 4.11-rc6 (diff) | |
download | linux-f78a8236c6502760705399dfa42e22ab11aa1e6b.tar.gz linux-f78a8236c6502760705399dfa42e22ab11aa1e6b.tar.bz2 linux-f78a8236c6502760705399dfa42e22ab11aa1e6b.zip |
Merge 4.11-rc6 into staging-next
We want the staging and iio fixes in here to handle merging easier.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r-- | drivers/staging/android/ashmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 7cbad0d45b9c..6ba270e0494d 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/android/ashmem.c @@ -409,6 +409,7 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma) ret = PTR_ERR(vmfile); goto out; } + vmfile->f_mode |= FMODE_LSEEK; asma->file = vmfile; } get_file(asma->file); |