]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: adjust the Fh class members order
authorXiubo Li <xiubli@redhat.com>
Wed, 10 Feb 2021 06:17:11 +0000 (14:17 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 16 Aug 2021 05:26:03 +0000 (13:26 +0800)
commitd4688848fa4710d50db5488eaefd05defcb78263
tree5a71fac36d7d6a25f3dfcb2da80d74e5f831b946
parent730dd8a87a3dbeba348dd419869ac110c57ed47a
client: adjust the Fh class members order

Some members once ininitalized in the Fh constructor they won't
change in the whole lifetime, and putting them under the client_lock
makes no sense.

And this could help simplify the inode lock code in some cases.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Fh.cc
src/client/Fh.h