[GIT PULL] file locking fixes for v4.14

From: Jeff Layton
Date: Tue Sep 05 2017 - 07:20:02 EST


The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:

Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git tags/locks-v4.14-1

for you to fetch changes up to 3953704fde7ec47f452ce6446fb7a0d5dc2f74df:

locks: restore a warn for leaked locks on close (2017-07-21 13:57:31 -0400)

----------------------------------------------------------------
This pile just has a few file locking fixes from Ben Coddington. There
are a couple of cleanup patches + an attempt to bring sanity to the
l_pid value that is reported back to userland on an F_GETLK request.

After a few gyrations, he came up with a way for filesystems to
communicate to the VFS layer code whether the pid should be translated
according to the namespace or presented as-is to userland.
----------------------------------------------------------------
Benjamin Coddington (3):
fs/locks: Use allocation rather than the stack in fcntl_getlk()
fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks
locks: restore a warn for leaked locks on close

drivers/staging/lustre/lustre/ldlm/ldlm_flock.c | 2 +-
fs/9p/vfs_file.c | 2 +-
fs/ceph/locks.c | 2 +-
fs/cifs/cifssmb.c | 2 +-
fs/dlm/plock.c | 2 +-
fs/fuse/file.c | 6 +++---
fs/locks.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------
include/linux/fs.h | 1 -
8 files changed, 93 insertions(+), 54 deletions(-)

--
Jeff Layton <jlayton@xxxxxxxxxx>