diff options
author | Gregor Beck <gbeck@sernet.de> | 2013-03-13 11:35:37 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-18 13:15:13 +0200 |
commit | f608bedfca4118b7e3606802df40e266bcc099d8 (patch) | |
tree | 012ea1fc0b807c2c6e207d77dfb6b2f30f8525f6 /source3/locking/proto.h | |
parent | 0ac0b35dad796d10cf04ab77a53a926420cc0589 (diff) | |
download | samba-f608bedfca4118b7e3606802df40e266bcc099d8.tar.gz samba-f608bedfca4118b7e3606802df40e266bcc099d8.tar.bz2 samba-f608bedfca4118b7e3606802df40e266bcc099d8.zip |
s3:locking: add function share_mode_cleanup_disconnected()
For a given file, clean share mode entries for a given persistent file id.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r-- | source3/locking/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 1d8eb73ebd..bb7255dcdc 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -202,6 +202,9 @@ bool set_write_time(struct file_id fileid, struct timespec write_time); int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *, const char *, void *), void *private_data); +bool share_mode_cleanup_disconnected(struct file_id id, + uint64_t open_persistent_id); + /* The following definitions come from locking/posix.c */ |