]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fs.h
locks: make posix_test_lock() interface more consistent
[net-next-2.6.git] / include / linux / fs.h
index b188c2e5338d164aad6481d26870732c3892eb0d..80deaaf1b7469aa4de8c9409521fc9eb355d0a77 100644 (file)
@@ -862,7 +862,7 @@ extern void locks_init_lock(struct file_lock *);
 extern void locks_copy_lock(struct file_lock *, struct file_lock *);
 extern void locks_remove_posix(struct file *, fl_owner_t);
 extern void locks_remove_flock(struct file *);
-extern int posix_test_lock(struct file *, struct file_lock *);
+extern void posix_test_lock(struct file *, struct file_lock *);
 extern int posix_lock_file(struct file *, struct file_lock *, struct file_lock *);
 extern int posix_lock_file_wait(struct file *, struct file_lock *);
 extern int posix_unblock_lock(struct file *, struct file_lock *);