]> err.no Git - linux-2.6/commit
locks: factor out generic/filesystem switch from setlock code
authorMarc Eshel <eshel@almaden.ibm.com>
Thu, 18 Jan 2007 20:08:55 +0000 (15:08 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 6 May 2007 22:08:49 +0000 (18:08 -0400)
commit7723ec9777d9832849b76475b1a21a2872a40d20
treeaf712e690d1de0a2e693830f6e056455c1725a92
parent3ee17abd14c728d4e0ca7a991c58f2250cb091af
locks: factor out generic/filesystem switch from setlock code

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.

Signed-off-by: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
fs/locks.c
include/linux/fs.h