summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2005-03-09 16:57:36 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-09 16:57:36 -0800
commitbbc42ec016d95f1b4e9240ab98539dc5c864c044 (patch)
treebad8150081d600a41c18c7cee5c0f438bffd4769 /include/linux/fs.h
parent690589732d253ffbfef15bb4262a47616cc027a6 (diff)
[PATCH] nfsd4: eliminate unnecessary remove_lease
Get rid of remove_lease, use setlease() with F_UNLCK Signed-off-by: Andy Adamson <andros@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h1
1 files changed, 0 insertions, 1 deletions
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);