From ae570255ddb36cd8f9c9c7cbb6e9691bdc4c07fd Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 8 May 2015 14:24:37 +0100 Subject: [PATCH] include/ceph_fs.h: define magic LOST+FOUND ino So that recovery tools can create this dir without having to consult/modify InoTable. Signed-off-by: John Spray --- src/include/ceph_fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h index 60dedd47d2f..94920c21d3d 100644 --- a/src/include/ceph_fs.h +++ b/src/include/ceph_fs.h @@ -29,6 +29,7 @@ #define CEPH_INO_ROOT 1 #define CEPH_INO_CEPH 2 /* hidden .ceph dir */ #define CEPH_INO_DOTDOT 3 /* used by ceph fuse for parent (..) */ +#define CEPH_INO_LOST_AND_FOUND 4 /* reserved ino for use in recovery */ /* arbitrary limit on max # of monitors (cluster of 3 is typical) */ #define CEPH_MAX_MON 31 -- 2.47.3