Wrapfs: fix ->llseek to update upper and lower offsets
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 26 Jun 2014 03:22:55 +0000 (23:22 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Dec 2016 03:11:39 +0000 (22:11 -0500)
commit8f1acaa27ef296251b9a3ffd625cc7bc2566e3f0
treed466281e4940de903158902a700bd9fa3dfa4d34
parentd3f8d91c100066d15a697f99ee90e860c63edcf2
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>
fs/wrapfs/file.c