diff options
author | Vikas Gorur <vikas@gluster.com> | 2010-02-23 13:50:25 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-02-23 21:37:16 -0800 |
commit | 3a1c66e21c4924851f2500a4e6909b211d7e9fa7 (patch) | |
tree | 0168277370e256acc4e2d5780092e67914666665 /xlators | |
parent | 4f7edf59f42e5f6a4b75eb7a947755b582ca8fd2 (diff) |
storage/posix: Don't use FTW_CONTINUE
FTW_CONTINUE is not defined on Mac, and POSIX only specifies
that the walker function must return 0. So just return 0.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 625 (Gluster Fails to build on OS X 10.6.2)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=625
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 53949d56030..5eaebbe1cc5 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -1362,7 +1362,7 @@ janitor_walker (const char *fpath, const struct stat *sb, break; } - return FTW_CONTINUE; + return 0; /* 0 = FTW_CONTINUE */ } |