diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 240eb1d4f876..b2a6009cba10 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1122,6 +1122,7 @@ extern int fcntl_getlease(struct file *filp); | |||
1122 | 1122 | ||
1123 | /* fs/locks.c */ | 1123 | /* fs/locks.c */ |
1124 | extern void locks_init_lock(struct file_lock *); | 1124 | extern void locks_init_lock(struct file_lock *); |
1125 | extern struct file_lock * locks_alloc_lock(void); | ||
1125 | extern void locks_copy_lock(struct file_lock *, struct file_lock *); | 1126 | extern void locks_copy_lock(struct file_lock *, struct file_lock *); |
1126 | extern void __locks_copy_lock(struct file_lock *, const struct file_lock *); | 1127 | extern void __locks_copy_lock(struct file_lock *, const struct file_lock *); |
1127 | extern void locks_remove_posix(struct file *, fl_owner_t); | 1128 | extern void locks_remove_posix(struct file *, fl_owner_t); |
@@ -1310,6 +1311,11 @@ struct fasync_struct { | |||
1310 | 1311 | ||
1311 | /* SMP safe fasync helpers: */ | 1312 | /* SMP safe fasync helpers: */ |
1312 | extern int fasync_helper(int, struct file *, int, struct fasync_struct **); | 1313 | extern int fasync_helper(int, struct file *, int, struct fasync_struct **); |
1314 | extern struct fasync_struct *fasync_insert_entry(int, struct file *, struct fasync_struct **, struct fasync_struct *); | ||
1315 | extern int fasync_remove_entry(struct file *, struct fasync_struct **); | ||
1316 | extern struct fasync_struct *fasync_alloc(void); | ||
1317 | extern void fasync_free(struct fasync_struct *); | ||
1318 | |||
1313 | /* can be called from interrupts */ | 1319 | /* can be called from interrupts */ |
1314 | extern void kill_fasync(struct fasync_struct **, int, int); | 1320 | extern void kill_fasync(struct fasync_struct **, int, int); |
1315 | 1321 | ||