diff options
author | Ronnie Sahlberg <[email protected]> | 2022-10-17 18:48:26 -0500 |
---|---|---|
committer | Steve French <[email protected]> | 2022-10-18 11:33:43 -0500 |
commit | 053569ccde2a41abcc592781451cd16eaa6e8bab (patch) | |
tree | ac5a59779bfe05d8b8c982360f15f609c4e68c9d /tools/perf/util/c++/clang.cpp | |
parent | d32f211adb6aa179c00ee1c251315d1ef1433a38 (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