summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorWilliam A. Adamson <andros@thnk.citi.umich.edu>2004-10-19 18:43:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:43:51 -0700
commit67db781f6ef69e017f28ddbb3ffa48fb87a9ec9c (patch)
tree38f40f2769d2e5aa34f0cdbde5b6807e7d7f296a /include/linux/fs.h
parent6a0ddd1535f56ffb61951ae45fbb0ca45da61754 (diff)
[PATCH] nfs4 lease: add a lock manager break callback
- Add a lock manager break callback to break_lease() for lock managers to initiate breaking a lease. - Move the break_lease() kill_fasync() call to a default lock manager fl_break callback Signed-off-by: Andy Adamson <andros@citi.umich.edu> 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, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2177ae562927..9e9befdd0289 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -635,6 +635,7 @@ struct lock_manager_operations {
void (*fl_notify)(struct file_lock *); /* unblock callback */
void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
void (*fl_release_private)(struct file_lock *);
+ void (*fl_break)(struct file_lock *);
};
/* that will die - we need it for nfs_lock_info */