]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: move the inos 1,2 and 3 macros to ceph_fs.h
authorXiubo Li <xiubli@redhat.com>
Tue, 20 Apr 2021 01:08:20 +0000 (09:08 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 26 May 2021 12:20:21 +0000 (14:20 +0200)
commitb356dd5ecd9f7ab2e60b5cbdaa8aaccc70b0a027
tree3b2e210db64b27b6701bdb84e1ac25bfe2696826
parent957e9dd19370a453da5cb5273c56f3a251ca7e44
mds: move the inos 1,2 and 3 macros to ceph_fs.h

For inos 1 and 2 there has two places are defining them, to make
sure we won't miss any one of them, let's define them in only one
header file.

Fixes: https://tracker.ceph.com/issues/50216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 8615807237458e8cebf9497a7431097cdc56c784)

Conflicts:
src/client/Inode.h
src/mds/CInode.h
src/mds/MDCache.cc
src/mds/Server.cc
        src/mds/SnapServer.h
- change MDS_INO_ROOT to CEPH_INO_ROOT in src/mds/SnapServer.h (octopus-only)
src/client/Client.cc
src/client/Inode.h
src/include/ceph_fs.h
src/mds/CInode.h
src/mds/DamageTable.cc
src/mds/MDCache.cc
src/mds/SnapRealm.cc
src/mds/SnapServer.h
src/mds/mdstypes.h
src/tools/cephfs/DataScan.cc