This isn't used, and judging by the comments was a horrible lie.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
if (mds->logger) mds->logger->inc(l_mds_tfw);
return 2;
}
- if (onfail == MDS_TRAVERSE_FAIL)
- return -ENOENT; // not necessarily exactly true....
}
assert(0); // i shouldn't get here
#define MDS_TRAVERSE_FORWARD 1
#define MDS_TRAVERSE_DISCOVER 2 // skips permissions checks etc.
#define MDS_TRAVERSE_DISCOVERXLOCK 3 // succeeds on (foreign?) null, xlocked dentries.
-#define MDS_TRAVERSE_FAIL 4
extern long g_num_ino, g_num_dir, g_num_dn, g_num_cap;