summaryrefslogtreecommitdiff
path: root/fs/overlayfs/overlayfs.h
diff options
context:
space:
mode:
authorLubos Dolezel <lubos@dolezel.info>2020-05-04 21:35:09 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2020-05-13 11:11:24 +0200
commit144da23beab87b27992e5e1b41bd954de0bf2581 (patch)
tree9f0a7a09663a46becdf2e641fff325d2eb93e2ba /fs/overlayfs/overlayfs.h
parent399c109d357a7e217cf7ef551e7e234439c68c15 (diff)
ovl: return required buffer size for file handles
Overlayfs doesn't work well with the fanotify mechanism. Fanotify first probes for the required buffer size for the file handle, but overlayfs currently bails out without passing the size back. That results in errors in the kernel log, such as: [527944.485384] overlayfs: failed to encode file handle (/, err=-75, buflen=0, len=29, type=1) [527944.485386] fanotify: failed to encode fid (fsid=ae521e68.a434d95f, type=255, bytes=0, err=-2) Signed-off-by: Lubos Dolezel <lubos@dolezel.info> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
0 files changed, 0 insertions, 0 deletions