+2
−2
+28
−13
+1
−1
Loading
mainline inclusion from mainline-v5.16-rc1 commit ca05cbae category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBGMYF Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca05cbae2a0468e5d78e9b4605936a8bf5da328b -------------------------------- If the cached credential exists but doesn't have any expiration callback then exit early. Fix up atomicity issues when replacing the credential with a new one since the existing code could lead to refcount leaks. Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Yang Erkun <yangerkun@huawei.com>