[PATCH] staging: android: ashmem: lseek failed due to no FMODE_LSEEK.

Greg KH gregkh at linuxfoundation.org
Thu Mar 9 12:38:05 UTC 2017


On Wed, Mar 08, 2017 at 06:18:32PM +0800, zhangshuxiaomi at gmail.com wrote:
> From: zhangshuxiao <zhangshuxiao at xiaomi.com>
> 
> 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.

Really?  What is causing this failure?  I haven't heard from anyone else
about this issue, is there something different in your userspace
framework?

> 
> Signed-off-by: zhangshuxiao <zhangshuxiao at xiaomi.com>

I need a "full" name for a signed-off-by: please.

thanks,

greg k-h


More information about the devel mailing list