ovl: clarify ovl_get_root() semantics
authorAmir Goldstein <amir73il@gmail.com>
Sat, 17 Jun 2023 08:00:24 +0000 (11:00 +0300)
committerAmir Goldstein <amir73il@gmail.com>
Mon, 19 Jun 2023 11:02:00 +0000 (14:02 +0300)
commit367d002d6cd21b8f0afe710cd9276fffe7b56d69
tree506f129587d25af51f5a94136c94ac4f6ecee614
parente4599d4b1aeff031d5764b25b37100b4f98148fc
ovl: clarify ovl_get_root() semantics

Change the semantics to take a reference on upperdentry instead
of transferrig the reference.

This is needed for upcoming port to new mount api.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
fs/overlayfs/super.c