  Topological nodal-line semimetals offer an interesting research platform to
explore novel phenomena associated with its torus-shaped Fermi surface. Here,
we study magnetotransport in the massive nodal-line semimetal with spin-orbit
coupling and finite Berry curvature distribution which exists in many
candidates. The magnetic field leads to a deformation of the Fermi torus
through its coupling to the orbital magnetic moment, which turns out to be the
main scenario of the magnetoresistivity (MR) induced by the Berry curvature
effect. We show that a small deformation of the Fermi surface yields a positive
MR $\propto B^2$, different from the negative MR by pure Berry curvature effect
in other topological systems. As the magnetic field increases to a critical
value, a topological Lifshitz transition of the Fermi surface can be induced,
and the MR inverts its sign at the same time. The temperature dependence of the
MR is investigated, which shows a totally different behavior before and after
the Lifshitz transition. Our work uncovers a novel scenario of the MR induced
solely by the deformation of the Fermi surface and establishes a relation
between the Fermi surface topology and the sign of the MR.
