From bbc42ec016d95f1b4e9240ab98539dc5c864c044 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 9 Mar 2005 16:57:36 -0800 Subject: [PATCH] nfsd4: eliminate unnecessary remove_lease Get rid of remove_lease, use setlease() with F_UNLCK Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/linux/fs.h') diff --git a/include/linux/fs.h b/include/linux/fs.h index c54298dd3b06..59891f8a049b 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -718,7 +718,6 @@ extern int __break_lease(struct inode *inode, unsigned int flags); extern void lease_get_mtime(struct inode *, struct timespec *time); extern int setlease(struct file *, long, struct file_lock **); extern int lease_modify(struct file_lock **, int); -extern void remove_lease(struct file_lock *); extern int lock_may_read(struct inode *, loff_t start, unsigned long count); extern int lock_may_write(struct inode *, loff_t start, unsigned long count); extern void steal_locks(fl_owner_t from); -- cgit v1.2.3