nfs-workarounds.h revision 49e358eebea107aad9919dcc4bd88cee8519ba2e
49e358eebea107aad9919dcc4bd88cee8519ba2eTimo Sirainen/* Note that some systems (Solaris) may use a macro to redefine struct stat */
89b548af722113acb5d63dfffb44423cb60f91e4Timo Sirainen/* When syscall fails with ESTALE error, how many times to try reopening the
89b548af722113acb5d63dfffb44423cb60f91e4Timo Sirainen file and retrying the operation. */
89b548af722113acb5d63dfffb44423cb60f91e4Timo Sirainen/* open() with some NFS workarounds */
89b548af722113acb5d63dfffb44423cb60f91e4Timo Sirainenint nfs_safe_open(const char *path, int flags);
6143fece58262865ce89b5012b73ef08f2ad6abcTimo Sirainen/* stat() with some NFS workarounds */
6143fece58262865ce89b5012b73ef08f2ad6abcTimo Sirainenint nfs_safe_stat(const char *path, struct stat *buf);