commit | b8b8c5af351e0ad239ccaf314a4856b4c9f786c4 | [log] [tgz] |
---|---|---|
author | zhangshuxiao <zhangshuxiao@xiaomi.com> | Wed Mar 08 16:53:24 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Mon Apr 10 16:10:04 2017 +0200 |
tree | 39676719dedd520cb673ab13ccd09a9212ac6428 | |
parent | 68565811fefb2f1bb1f130e28c186a4bf892f7b7 [diff] |
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. Change-Id: Ia78ef4c7c96adb89d52e70b63f7c00636fe60d01 Signed-off-by: zhangshuxiao <zhangshuxiao@xiaomi.com> (cherry picked from commit 6c8d409129bbebe36cde9f8e511011756216163a) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>