]> 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, 12 May 2021 16:25:11 +0000 (18:25 +0200)
commitb92162e4df1581c8a7aabbb6f0149aebfe34844e
treeee95df7db61b8188d4812198fb8532a2f7ab26ac
parent93afc50718d4625481f9075cd3ada40f523615f5
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 (nautilus-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