fs/locks: print full locks information
authorLuo Longjun <luolongjun@huawei.com>
Fri, 26 Feb 2021 03:58:29 +0000 (22:58 -0500)
committerJeff Layton <jlayton@kernel.org>
Thu, 11 Mar 2021 12:48:11 +0000 (07:48 -0500)
commitb8da9b10e26cee58eba7b0fd72717127edfb316b
tree1387b885216317522fb97fa47d30d96fd9eb1700
parenta38fd8748464831584a19438cbb3082b5a2dab15
fs/locks: print full locks information

Commit fd7732e033e3 ("fs/locks: create a tree of dependent requests.")
has put blocked locks into a tree.

So, with a for loop, we can't check all locks information.

To solve this problem, we should traverse the tree.

Signed-off-by: Luo Longjun <luolongjun@huawei.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/locks.c