• Linus Torvalds's avatar
    Merge tag 'locks-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux · befbfe07
    Linus Torvalds authored
    Pull file locking updates from Jeff Layton:
     "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"
    
    * tag 'locks-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux:
      fs/locks: remove useless assignment in fcntl_getlk
      fs/locks: print full locks information
    befbfe07
locks.c 81.2 KB