From: J. Bruce Fields Date: Thu, 7 Jun 2007 21:09:49 +0000 (-0400) Subject: locks: rename lease functions to reflect locks.c conventions X-Git-Tag: v2.6.23-rc1~482^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9933cea7a1d80dd9efae9f1acd857f5dce742b9;p=pandora-kernel.git locks: rename lease functions to reflect locks.c conventions We've been using the convention that vfs_foo is the function that calls a filesystem-specific foo method if it exists, or falls back on a generic method if it doesn't; thus vfs_foo is what is called when some other part of the kernel (normally lockd or nfsd) wants to get a lock, whereas foo is what filesystems call to use the underlying local functionality as part of their lock implementation. So rename setlease to vfs_setlease (which will call a filesystem-specific setlease after a later patch) and __setlease to setlease. Also, vfs_setlease need only be GPL-exported as long as it's only needed by lockd and nfsd. Signed-off-by: "J. Bruce Fields" --- Reading git-diff-tree failed