summaryrefslogtreecommitdiffstats
path: root/scripts/adjust_autoksyms.sh
diff options
context:
space:
mode:
authorMartin Brandenburg2018-02-06 15:01:26 +0100
committerMike Marshall2018-02-06 22:38:13 +0100
commit74e938c22705c7b80d4422e84eea927fc78e60a8 (patch)
tree02704ab50e56c7d2bd520f6882861ac294dedd3c /scripts/adjust_autoksyms.sh
parentorangefs: simplify orangefs_inode_is_stale (diff)
downloadkernel-qcow2-linux-74e938c22705c7b80d4422e84eea927fc78e60a8.tar.gz
kernel-qcow2-linux-74e938c22705c7b80d4422e84eea927fc78e60a8.tar.xz
kernel-qcow2-linux-74e938c22705c7b80d4422e84eea927fc78e60a8.zip
orangefs: reverse sense of is-inode-stale test in d_revalidate
If a dentry is deleted, then a dentry is recreated with the same handle but a different type (i.e. it was a file and now it's a symlink), then its a different inode. The check was backwards, so d_revalidate would not have noticed. Due to the design of the OrangeFS server, this is rather unlikely. It's also possible for the dentry to be deleted and recreated with the same type. This would be undetectable. It's a bit of a ship of Theseus. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'scripts/adjust_autoksyms.sh')
0 files changed, 0 insertions, 0 deletions