diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-12-29 05:41:34 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 05:41:34 -0800 |
| commit | 088f5d7244de8d4ad0418c2ae7167fd9fe8efd31 (patch) | |
| tree | 7936295e262421a1db042282df1fe8d1c0822a85 /include/linux/fs.h | |
| parent | 04e9bcb4d10643da38b434492fb75dd10e0ceba8 (diff) | |
[PATCH] add steal_locks helper
From: Chris Wright <chrisw@osdl.org>
Add steal_locks helper for use in conjunction with unshare_files to make
sure POSIX file lock semantics aren't broken due to unshare_files.
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index dbe66b285870..ab962f0b00c2 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -630,6 +630,7 @@ extern int __break_lease(struct inode *inode, unsigned int flags); extern void lease_get_mtime(struct inode *, struct timespec *time); 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); struct fasync_struct { int magic; |
