summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2019-02-27 13:32:11 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2019-05-06 13:54:51 +0200
commit9e46b840c7053b5f7a245e98cd239b60d189a96c (patch)
tree802b84ae86ddae6b08875cc7d219995e618214ff /fs/mpage.c
parent3428030da004a1128cbdcf93dc03e16f184d845b (diff)
downloadlinux-9e46b840c7053b5f7a245e98cd239b60d189a96c.tar.bz2
ovl: support stacked SEEK_HOLE/SEEK_DATA
Overlay file f_pos is the master copy that is preserved through copy up and modified on read/write, but only real fs knows how to SEEK_HOLE/SEEK_DATA and real fs may impose limitations that are more strict than ->s_maxbytes for specific files, so we use the real file to perform seeks. We do not call real fs for SEEK_CUR:0 query and for SEEK_SET:0 requests. Fixes: d1d04ef8572b ("ovl: stack file ops") Reported-by: Eddie Horng <eddiehorng.tw@gmail.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions