locks: factor out generic/filesystem switch from setlock code
Quoted 7 lines · J. Bruce Fields
From: Marc Eshel <[email protected]> - unquoted
Factor out the code that switches between generic and filesystem-specific lock methods; eventually we want to call this from lock managers (lockd and nfsd) too; currently they only call the generic methods.
This patch does that for all the setlk code.
Ok.