alistair23-linux/drivers/staging
Shuxiao Zhang 97fbfef6bd staging: android: ashmem: lseek failed due to no FMODE_LSEEK.
vfs_llseek will check whether the file mode has
FMODE_LSEEK, no return failure. But ashmem can be
lseek, so add FMODE_LSEEK to ashmem file.

Comment From Greg Hackmann:
	ashmem_llseek() passes the llseek() call through to the backing
	shmem file.  91360b02ab ("ashmem: use vfs_llseek()") changed
	this from directly calling the file's llseek() op into a VFS
	layer call.  This also adds a check for the FMODE_LSEEK bit, so
	without that bit ashmem_llseek() now always fails with -ESPIPE.

Fixes: 91360b02ab ("ashmem: use vfs_llseek()")
Signed-off-by: Shuxiao Zhang <zhangshuxiao@xiaomi.com>
Tested-by: Greg Hackmann <ghackmann@google.com>
Cc: stable <stable@vger.kernel.org> # 3.18+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-08 12:13:11 +02:00
..
android staging: android: ashmem: lseek failed due to no FMODE_LSEEK. 2017-04-08 12:13:11 +02:00
bcm2835-audio
board
clocking-wizard
comedi sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
dgnc sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
emxx_udc
fbtft
fsl-mc staging: fsl-mc: fix warning in DT ranges parser 2017-03-01 09:23:56 +01:00
fwserial
gdm724x
goldfish
greybus sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
gs_fpgaboot scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
iio
ks7010 staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
lustre net: Work around lockdep limitation in sockets that use sockets 2017-03-09 18:23:27 -08:00
media Staging/IIO driver fixes for 4.11-rc1 2017-03-04 11:26:18 -08:00
most
mt29f_spinand
netlogic
nvec
octeon staging: octeon: remove unused variable 2017-03-08 09:45:07 +01:00
octeon-usb
olpc_dcon
rtl8188eu sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
rtl8192e staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
rtl8192u scripts/spelling.txt: add "swithc" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
rtl8712 sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
rts5208
skein
sm750fb
speakup sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
unisys staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
vc04_services staging/vc04_services: add CONFIG_OF dependency 2017-03-06 14:38:49 +01:00
vme
vt6655
vt6656
wilc1000 scripts/spelling.txt: add "deintialize(d)" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
wlan-ng staging/iio driver patches for 4.11-rc1 2017-02-22 12:14:01 -08:00
xgifb
Kconfig
Makefile