Can Motor Oil Prevent Rust?

Will used motor oil stop rust?

.