|
@@ -872,6 +872,7 @@ extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl);
|
|
extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
|
|
extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
|
|
extern int __break_lease(struct inode *inode, unsigned int flags);
|
|
extern int __break_lease(struct inode *inode, unsigned int flags);
|
|
extern void lease_get_mtime(struct inode *, struct timespec *time);
|
|
extern void lease_get_mtime(struct inode *, struct timespec *time);
|
|
|
|
+extern int setlease(struct file *, long, struct file_lock **);
|
|
extern int vfs_setlease(struct file *, long, struct file_lock **);
|
|
extern int vfs_setlease(struct file *, long, struct file_lock **);
|
|
extern int lease_modify(struct file_lock **, int);
|
|
extern int lease_modify(struct file_lock **, int);
|
|
extern int lock_may_read(struct inode *, loff_t start, unsigned long count);
|
|
extern int lock_may_read(struct inode *, loff_t start, unsigned long count);
|