summaryrefslogtreecommitdiff
path: root/include/linux/rcupdate.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2007-06-07 21:09:49 (GMT)
committerJ. Bruce Fields <bfields@citi.umich.edu>2007-07-18 23:14:12 (GMT)
commita9933cea7a1d80dd9efae9f1acd857f5dce742b9 (patch)
treed931351589579ce141110350de9ff11154328399 /include/linux/rcupdate.h
parent6d5e8b05caf074ae5676ad9aaf92e381226a14a7 (diff)
downloadlinux-fsl-qoriq-a9933cea7a1d80dd9efae9f1acd857f5dce742b9.tar.xz
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" <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/rcupdate.h')
0 files changed, 0 insertions, 0 deletions