Commit e0f9396e authored by Al Viro's avatar Al Viro
Browse files

propagate_one(): separate the "what should be the master for this copy" part



When we create the first copy for a peer group, it becomes a slave of
one of the existing copies; take that logics into a separate helper -
find_master(parent, last_copy, original).

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 15e710b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment