aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorRonnie Sahlberg <[email protected]>2022-10-17 18:48:26 -0500
committerSteve French <[email protected]>2022-10-18 11:33:43 -0500
commit053569ccde2a41abcc592781451cd16eaa6e8bab (patch)
treeac5a59779bfe05d8b8c982360f15f609c4e68c9d /tools/perf/util/c++/clang.cpp
parentd32f211adb6aa179c00ee1c251315d1ef1433a38 (diff)
cifs: set rc to -ENOENT if we can not get a dentry for the cached dir
We already set rc to this return code further down in the function but we can set it earlier in order to suppress a smash warning. Also fix a false positive for Coverity. The reason this is a false positive is that this happens during umount after all files and directories have been closed but mosetting on ->on_list to suppress the warning. Reported-by: Dan carpenter <[email protected]> Reported-by: coverity-bot <[email protected]> Addresses-Coverity-ID: 1525256 ("Concurrent data access violations") Fixes: a350d6e73f5e ("cifs: enable caching of directories for which a lease is held") Signed-off-by: Ronnie Sahlberg <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions