From 63454255fa62d3c1fa584ed6645783e63915ae35 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Wed, 12 Oct 2011 23:31:25 +0200
Subject: [PATCH] fuser: Use correct WITH_TIMEOUT_STAT to conditionalize
 timeout()
Status: applied
Debbug: 661723

Signed-off-by: Guillem Jover <guillem@hadrons.org>
---
 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
 /*
-- 
1.7.9.1

