diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-04-24 19:39:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-15 11:54:05 +0200 |
commit | 06382ad6cf31fe628eae072e65b61a8b767b7828 (patch) | |
tree | 82978508a5abcc04b3be83c310a1e3d65d42286e /drivers/mmc | |
parent | 5fbe39bfd1e027387ff65ada3584cd836b84c659 (diff) | |
download | linux-stable-06382ad6cf31fe628eae072e65b61a8b767b7828.tar.gz linux-stable-06382ad6cf31fe628eae072e65b61a8b767b7828.tar.bz2 linux-stable-06382ad6cf31fe628eae072e65b61a8b767b7828.zip |
ovl: do not generate duplicate fsnotify events for "fake" path
[ Upstream commit d989903058a83e8536cc7aadf9256a47d5c173fe ]
Overlayfs "fake" path is used for stacked file operations on underlying
files. Operations on files with "fake" path must not generate fsnotify
events with path data, because those events have already been generated at
overlayfs layer and because the reported event->fd for fanotify marks on
underlying inode/filesystem will have the wrong path (the overlayfs path).
Link: https://lore.kernel.org/linux-fsdevel/20190423065024.12695-1-jencce.kernel@gmail.com/
Reported-by: Murphy Zhou <jencce.kernel@gmail.com>
Fixes: d1d04ef8572b ("ovl: stack file ops")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions