aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorMarc Eshel <eshel@almaden.ibm.com>2007-01-18 15:08:55 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2007-05-06 18:08:49 -0400
commit7723ec9777d9832849b76475b1a21a2872a40d20 (patch)
treeaf712e690d1de0a2e693830f6e056455c1725a92 /include/linux/fs.h
parent3ee17abd14c728d4e0ca7a991c58f2250cb091af (diff)
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>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2a2a43988f50..1d5ccdd7c68d 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -857,6 +857,7 @@ extern int posix_lock_file(struct file *, struct file_lock *);
857extern int posix_lock_file_wait(struct file *, struct file_lock *); 857extern int posix_lock_file_wait(struct file *, struct file_lock *);
858extern int posix_unblock_lock(struct file *, struct file_lock *); 858extern int posix_unblock_lock(struct file *, struct file_lock *);
859extern int vfs_test_lock(struct file *, struct file_lock *); 859extern int vfs_test_lock(struct file *, struct file_lock *);
860extern int vfs_lock_file(struct file *, unsigned int, struct file_lock *);
860extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl); 861extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
861extern int __break_lease(struct inode *inode, unsigned int flags); 862extern int __break_lease(struct inode *inode, unsigned int flags);
862extern void lease_get_mtime(struct inode *, struct timespec *time); 863extern void lease_get_mtime(struct inode *, struct timespec *time);