1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-22 02:50:28 +03:00

vfs_fruit: prepare struct fio for fake-fd and on-demand opening

Not used for now, that comes in the subsequent commits.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13646

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 96320eccc9a63b793ff8d05842bce54f120286f9)
This commit is contained in:
Ralph Boehme 2018-08-22 15:22:57 +02:00 committed by Karolin Seeger
parent bc6d5c9fa7
commit a3cc00f718

View File

@ -517,6 +517,17 @@ struct fio {
/* Whether the create created the stream */
bool created;
/*
* AFP_AfpInfo stream created, but not written yet, thus still a fake
* pipe fd. This is set to true in fruit_open_meta if there was no
* exisiting stream but the caller requested O_CREAT. It is later set to
* false when we get a write on the stream that then does open and
* create the stream.
*/
bool fake_fd;
int flags;
int mode;
};
/*