nfs locking for cluster filesystems
If a filesystem defines a ->lock() method, that method is called when an application uses fcntl(), but it isn't called from the code path used by the lock managers (lockd (for nfsv2/v3) and nfsd itself (for v4)). The following patches remedy that. (This hasn't been a problem until recently because the filesystems that define ->lock (nfs, cifs, etc.) aren't filesystems that nfsd exports. The arrival of cluster filesystems changes that.)
We'd like an ack from Trond and/or Christoph before this goes into mainline, but it seems ready at least for testing in -mm.
The first four to six patches are actually just locks.c cleanup.
--b.
(Apologies for any duplicate mail; git-send-email doesn't always seem to agree with me....)