propagate_mnt(): get rid of last_dest
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 Jun 2025 03:27:48 +0000 (23:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jun 2025 23:03:30 +0000 (19:03 -0400)
commit0a10217e5cf82835b63875752b57f01bba0bf5b6
treebef71b817889405da4422506bf46aadc644b0b55
parentbc88530a20b1d5c78288ef5383d10b66d3242c48
propagate_mnt(): get rid of last_dest

Its only use is choosing the type of copy - CL_MAKE_SHARED if there
already is a copy in that peer group, CL_SLAVE or CL_SLAVE | CL_MAKE_SHARED
otherwise.

But that's easy to keep track of - just set type in the beginning of group
and reset to CL_MAKE_SHARED after the first created secondary in it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/pnode.c