Wrapfs: fix ->llseek to update upper and lower offsets
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 26 Jun 2014 02:37:16 +0000 (22:37 -0400)
committerRohit Kumar <rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:28:34 +0000 (12:28 -0400)
commitf777fd146f465c89b0bfda6ba865ee2b2bff2e93
treea6b768de1574de2358607f95e024acaf2adb7d70
parentfa9733ac79d3df5aa8bfb1adf0fdac8e9737696b
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