linux/fs/overlayfs
Amir Goldstein b02a16e641 ovl: update ctx->pos on impure dir iteration
This fixes a regression with readdir of impure dir in overlayfs
that is shared to VM via 9p fs.

Reported-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Fixes: 4edb83bb10 ("ovl: constant d_ino for non-merge dirs")
Cc: <stable@vger.kernel.org> #4.14
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Tested-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-12-11 11:28:11 +01:00
..
copy_up.c ovl: move include of ovl_entry.h into overlayfs.h 2017-11-09 10:23:27 +01:00
dir.c ovl: update cache version of impure parent on rename 2017-11-09 10:23:27 +01:00
inode.c ovl: relax same fs constraint for constant st_ino 2017-11-09 10:23:27 +01:00
Kconfig ovl: don't follow redirects if redirect_dir=off 2017-12-11 11:28:10 +01:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c ovl: Pass ovl_get_nlink() parameters in right order 2017-12-11 11:28:10 +01:00
overlayfs.h ovl: remove unneeded arg from ovl_verify_origin() 2017-11-10 09:39:16 +01:00
ovl_entry.h ovl: don't follow redirects if redirect_dir=off 2017-12-11 11:28:10 +01:00
readdir.c ovl: update ctx->pos on impure dir iteration 2017-12-11 11:28:11 +01:00
super.c ovl: don't follow redirects if redirect_dir=off 2017-12-11 11:28:10 +01:00
util.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00