nfs-workarounds.h revision 6143fece58262865ce89b5012b73ef08f2ad6abc
3665N/A#ifndef __NFS_WORKAROUNDS_H
3665N/A#define __NFS_WORKAROUNDS_H
3665N/A
3665N/Astruct stat;
3665N/A
3665N/A/* When syscall fails with ESTALE error, how many times to try reopening the
3665N/A file and retrying the operation. */
3665N/A#define NFS_ESTALE_RETRY_COUNT 10
3665N/A
3665N/A/* open() with some NFS workarounds */
3665N/Aint nfs_safe_open(const char *path, int flags);
3665N/A/* stat() with some NFS workarounds */
3665N/Aint nfs_safe_stat(const char *path, struct stat *buf);
3665N/A
3665N/A#endif
3665N/A