diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-05-04 05:05:10 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-05-26 01:15:37 +0200 |
commit | a4b7431f39438f415cef1fa28502ec58016686f7 (patch) | |
tree | 432bd5da4924ea61b1fa0bcd862361e2f6343c29 /fs/ceph/super.h | |
parent | ceph: fix dir_auth check in ceph_fill_dirfrag() (diff) | |
download | linux-a4b7431f39438f415cef1fa28502ec58016686f7.tar.xz linux-a4b7431f39438f415cef1fa28502ec58016686f7.zip |
ceph: keep leaf frag when updating fragtree
Nodes in i_fragtree are sorted according to ceph_compare_frag().
It means frag node in i_fragtree always follow its direct parent
node. To check if a leaf node is valid, we just need to check if
it's child of previous split node.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions