[GIT PULL] file locking fixes for v5.13
From: Jeff Layton
Date: Mon Apr 26 2021 - 07:18:54 EST
The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:
Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git tags/locks-v5.13
for you to fetch changes up to cbe6fc4e01421c890d74422cdd04c6b1c8f62dda:
fs/locks: remove useless assignment in fcntl_getlk (2021-04-13 07:26:38 -0400)
----------------------------------------------------------------
When we reworked the blocked locks into a tree structure instead of a
flat list a few releases ago, we lost the ability to see all of the file
locks in /proc/locks. Luo's patch fixes it to dump out all of the
blocked locks instead, which restores the full output.
This changes the format of /proc/locks as the blocked locks are shown at
multiple levels of indentation now, but lslocks (the only common program
I've ID'ed that scrapes this info) seems to be OK with that.
Tian also contributed a small patch to remove a useless assignment.
----------------------------------------------------------------
Luo Longjun (1):
fs/locks: print full locks information
Tian Tao (1):
fs/locks: remove useless assignment in fcntl_getlk
fs/locks.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 56 insertions(+), 10 deletions(-)
Thanks!
--
Jeff Layton <jlayton@xxxxxxxxxx>