about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/misc/nftw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/misc/nftw.c b/src/misc/nftw.c
index b2e84bca..efb2b895 100644
--- a/src/misc/nftw.c
+++ b/src/misc/nftw.c
@@ -46,8 +46,7 @@ static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int,
 		type = FTW_F;
 	}
 
-	if ((flags & FTW_MOUNT) && h
-	 && (st.st_dev != h->dev || st.st_ino != h->ino))
+	if ((flags & FTW_MOUNT) && h && st.st_dev != h->dev)
 		return 0;
 	
 	new.chain = h;