diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-10-12 23:31:25 +0200 |
---|---|---|
committer | Craig Small <csmall@users.sourceforge.net> | 2012-03-04 08:49:49 +1100 |
commit | e3b3b13f8578837b2815b6c47853dd539beb23d1 (patch) | |
tree | b6bbbad1fdfc5b6b06776a46cd7eb2ae81fa5651 /src | |
parent | 6379cbe6788f2b4beae225f0d32b523048411e21 (diff) |
fuser: Use correct WITH_TIMEOUT_STAT to conditionalize timeout()
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/fuser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fuser.c b/src/fuser.c index e4081eb..0c6199e 100644 --- a/src/fuser.c +++ b/src/fuser.c @@ -1783,7 +1783,7 @@ scan_swaps(struct names *names_head, struct inode_list *ino_head, * Execute stat(2) system call with timeout to avoid deadlock * on network based file systems. */ -#ifdef HAVE_TIMEOUT_STAT +#ifdef WITH_TIMEOUT_STAT static sigjmp_buf jenv; @@ -1843,7 +1843,7 @@ timeout(stat_t func, const char *path, struct stat *buf, unsigned int seconds) err: return -1; } -#endif /* HAVE_TIMEOUT_STAT */ +#endif /* WITH_TIMEOUT_STAT */ #ifdef _LISTS_H /* |