aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-03-27 14:13:24 +0000
committerSteve French <[email protected]>2024-03-27 17:04:06 +0000
commit8876a37277cb832e1861c35f8c661825179f73f5 (patch)
tree44125d56ff8f69cdfdb878edb4e1c963a59a583f /scripts/gcc-plugins/gcc-common.h
parentsmb3: add trace event for mknod (diff)
downloadkernel-8876a37277cb832e1861c35f8c661825179f73f5.tar.gz
kernel-8876a37277cb832e1861c35f8c661825179f73f5.zip
cifs: Fix duplicate fscache cookie warnings
fscache emits a lot of duplicate cookie warnings with cifs because the index key for the fscache cookies does not include everything that the cifs_find_inode() function does. The latter is used with iget5_locked() to distinguish between inodes in the local inode cache. Fix this by adding the creation time and file type to the fscache cookie key. Additionally, add a couple of comments to note that if one is changed the other must be also. Signed-off-by: David Howells <[email protected]> Fixes: 70431bfd825d ("cifs: Support fscache indexing rewrite") cc: Shyam Prasad N <[email protected]> cc: Rohith Surabattula <[email protected]> cc: Jeff Layton <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions