ovl: move all parameter handling into params.{c,h}
authorChristian Brauner <brauner@kernel.org>
Mon, 26 Jun 2023 10:23:36 +0000 (12:23 +0200)
committerAmir Goldstein <amir73il@gmail.com>
Mon, 3 Jul 2023 13:08:17 +0000 (16:08 +0300)
commit7fb7998b599a2e1f3744fbd34a3e7145da841ed1
tree52ae0538040cbdc17362fadb08db5490bf484ff7
parenta901a3568fd26ca9c4a82d8bc5ed5b3ed844d451
ovl: move all parameter handling into params.{c,h}

While initially I thought that we couldn't move all new mount api
handling into params.{c,h} it turns out it is possible. So this just
moves a good chunk of code out of super.c and into params.{c,h}.

Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
fs/overlayfs/overlayfs.h
fs/overlayfs/params.c
fs/overlayfs/params.h [new file with mode: 0644]
fs/overlayfs/super.c