ovl: negate the ofs->share_whiteout boolean
authorAmir Goldstein <amir73il@gmail.com>
Sat, 17 Jun 2023 06:12:50 +0000 (09:12 +0300)
committerAmir Goldstein <amir73il@gmail.com>
Mon, 19 Jun 2023 11:02:00 +0000 (14:02 +0300)
commite4599d4b1aeff031d5764b25b37100b4f98148fc
treef5a64e682830b685f3f19a54f81b7a00e0d3dfe1
parentf723edb8a532cd26e1ff0a2b271d73762d48f762
ovl: negate the ofs->share_whiteout boolean

The default common case is that whiteout sharing is enabled.
Change to storing the negated no_shared_whiteout state, so we will not
need to initialize it.

This is the first step towards removing all config and feature
initializations out of ovl_fill_super().

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