diff options
author | Sage Weil <sage@newdream.net> | 2009-12-02 14:54:25 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-12-03 17:59:48 -0500 |
commit | 1d1de9160e0d8aff0d67a21137b62e63ffd6f184 (patch) | |
tree | 45482bacc25511428b150424f0bdb934b6d9bf73 /fs/ceph/ceph_fs.h | |
parent | 50b885b96c903e420a1eac54dd27626244704a06 (diff) |
ceph: hide /.ceph from readdir results
We need to skip /.ceph in (cached) readdir results, and exclude "/.ceph"
from the cached ENOENT lookup check.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_fs.h')
-rw-r--r-- | fs/ceph/ceph_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h index 4e5f49c738d8..699196a10c66 100644 --- a/fs/ceph/ceph_fs.h +++ b/fs/ceph/ceph_fs.h | |||
@@ -44,6 +44,7 @@ | |||
44 | 44 | ||
45 | 45 | ||
46 | #define CEPH_INO_ROOT 1 | 46 | #define CEPH_INO_ROOT 1 |
47 | #define CEPH_INO_CEPH 2 /* hidden .ceph dir */ | ||
47 | 48 | ||
48 | /* arbitrary limit on max # of monitors (cluster of 3 is typical) */ | 49 | /* arbitrary limit on max # of monitors (cluster of 3 is typical) */ |
49 | #define CEPH_MAX_MON 31 | 50 | #define CEPH_MAX_MON 31 |