ANDROID: sdcardfs: fix ->llseek to update upper and lower offset
authorDaniel Rosenberg <drosen@google.com>
Fri, 10 Mar 2017 05:42:01 +0000 (21:42 -0800)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:35 +0000 (18:03 +0200)
commitf66856b6c1055e91ba967e8199fd732310f3cca6
tree1162d83e303c367d556b7594ff5df55887365aaa
parentfe5a9b3def5e3608afa3da23ebb84f5be1958185
ANDROID: sdcardfs: fix ->llseek to update upper and lower offset

Adapted from wrapfs
commit 1d1d23a47baa ("Wrapfs: fix ->llseek to update upper and lower
offsets")

Fixes bug: xfstests generic/257. f_pos consistently is required by and
only by dir_ops->wrapfs_readdir, main_ops is not affected.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Mengyang Li <li.mengyang@stonybrook.edu>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35766959
Change-Id: I360a1368ac37ea8966910a58972b81504031d437

Conflicts:
fs/sdcardfs/file.c
fs/sdcardfs/file.c