[PATCH 2/3] fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks

2017-06-27 Thread Benjamin Coddington
Since commit c69899a17ca4 "NFSv4: Update of VFS byte range lock must be atomic with the stateid update", NFSv4 has been inserting locks in rpciod worker context. The result is that the file_lock's fl_nspid is the kworker's pid instead of the original userspace pid. The fl_nspid is only used to

[PATCH 2/3] fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks

2017-06-27 Thread Benjamin Coddington
Since commit c69899a17ca4 "NFSv4: Update of VFS byte range lock must be atomic with the stateid update", NFSv4 has been inserting locks in rpciod worker context. The result is that the file_lock's fl_nspid is the kworker's pid instead of the original userspace pid. The fl_nspid is only used to