diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-02-19 14:56:17 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-03-01 18:26:37 +0100 |
commit | 74a31df4f1f16807a93e414a322baf6eceddb60d (patch) | |
tree | b015b33598f76d03cbd442985e788885bd219aa7 /lib/dynamic_debug.c | |
parent | 2e586641c950e7f3e7e008404bd783a466b9b590 (diff) | |
download | lwn-74a31df4f1f16807a93e414a322baf6eceddb60d.tar.gz lwn-74a31df4f1f16807a93e414a322baf6eceddb60d.zip |
ceph: eliminate the recursion when rebuilding the snap context
Use a list instead of recursion to avoid possible stack overflow.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions