summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHyunchul Lee <hyc.lee@gmail.com>2021-04-13 13:24:43 +0900
committerSteve French <stfrench@microsoft.com>2021-05-10 19:15:41 -0500
commit24b626967d9574a477acf2ab94f55c847d04939a (patch)
treeeab673c3974b22041960fbc68dd354878fb7e222 /tools/perf/scripts/python/export-to-sqlite.py
parent3c20378325c710e7257b22ba333310771be51192 (diff)
cifsd: fix reference count decrement of unclaimed file in __ksmbd_lookup_fd
__ksmbd_lookup_fd could decrement the reference count of unclaimed ksmbd_file to 0 but not release this ksmbd_file. ksmbd_file cannot be unclaimed except ksmbd_close_inode_fds(), because ksmbd_file is only removed from the m_fp_list list after the reference count of ksmbd_file becomes 0. And if the count is 0, __ksmbd_lookup_fd does not use ksmbd_file found from idr due to atomic_inc_not_zero. Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions