Cross Reference: nfs-workarounds.h
xref
: /
dovecot
/
src
/
lib
/
nfs-workarounds.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
nfs-workarounds.h revision 6143fece58262865ce89b5012b73ef08f2ad6abc
3665
N/A
#
ifndef
__NFS_WORKAROUNDS_H
3665
N/A
#
define
__NFS_WORKAROUNDS_H
3665
N/A
3665
N/A
struct
stat
;
3665
N/A
3665
N/A
/* When syscall fails with ESTALE error, how many times to try reopening the
3665
N/A
file and retrying the operation. */
3665
N/A
#
define
NFS_ESTALE_RETRY_COUNT
10
3665
N/A
3665
N/A
/* open() with some NFS workarounds */
3665
N/A
int
nfs_safe_open
(
const
char
*
path
,
int
flags
);
3665
N/A
/* stat() with some NFS workarounds */
3665
N/A
int
nfs_safe_stat
(
const
char
*
path
,
struct
stat
*
buf
);
3665
N/A
3665
N/A
#
endif
3665
N/A