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)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 3 Apr 2016 19:23:34 +0000 (15:23 -0400)
commit00c0ec96c2c96441d2bf2a2d4f5c5b20d9d1d878
tree711907ba87dab6c3c86fba7d840d528c080270fa
parent964740c81c5650da2476eb13807749ebe7f157c6
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