diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-01-28 03:35:48 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-02-05 11:50:29 +0300 |
commit | 2aed489d163a6559e07dbc238882c9970ae0f65b (patch) | |
tree | a5234726cf9bb681e77883fde009563b69727db7 /fs/romfs | |
parent | 8383f1748829e1a6a07988863ed13a47fb653387 (diff) | |
download | linux-2aed489d163a6559e07dbc238882c9970ae0f65b.tar.xz |
ovl: fix regression in fsnotify of overlay merge dir
A re-factoring patch in NFS export series has passed the wrong argument
to ovl_get_inode() causing a regression in the very recent fix to
fsnotify of overlay merge dir.
The regression has caused merge directory inodes to be hashed by upper
instead of lower real inode, when NFS export and directory indexing is
disabled. That caused an inotify watch to become obsolete after directory
copy up and drop caches.
LTP test inotify07 was improved to catch this regression.
The regression also caused multiple redirect dirs to same origin not to
be detected on lookup with NFS export disabled. An xfstest was added to
cover this case.
Fixes: 0aceb53e73be ("ovl: do not pass overlay dentry to ovl_get_inode()")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions