]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fs.h
locks: fix setlease methods to free passed-in lock
[net-next-2.6.git] / include / linux / fs.h
index 7b7b507ffa1cb269266e74044e8e57ec8e0b5d7b..1eb29399a4ff4b82f00257e3c03090015c00060a 100644 (file)
@@ -1129,6 +1129,7 @@ extern int fcntl_setlease(unsigned int fd, struct file *filp, long arg);
 extern int fcntl_getlease(struct file *filp);
 
 /* fs/locks.c */
+void locks_free_lock(struct file_lock *fl);
 extern void locks_init_lock(struct file_lock *);
 extern struct file_lock * locks_alloc_lock(void);
 extern void locks_copy_lock(struct file_lock *, struct file_lock *);