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
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
iio
ks7010
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
rtl8192u
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
vc04_services staging/vc04_services: add CONFIG_OF dependency 2017-03-06 14:38:49 +01:00
vme
vt6655
vt6656
wilc1000
wlan-ng
xgifb
Kconfig
Makefile