]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: Create sb_same_encoding() helper
authorAndré Almeida <andrealmeid@igalia.com>
Thu, 14 Aug 2025 17:22:13 +0000 (14:22 -0300)
committerAmir Goldstein <amir73il@gmail.com>
Tue, 23 Sep 2025 10:28:57 +0000 (12:28 +0200)
commit23253e278a4574114d4c2729ed70f70b4ec7a30e
tree7297951d720b72991956f57f6690a45065a16395
parent9095d207417477eb50e84fd0652895db77ec584e
fs: Create sb_same_encoding() helper

For cases where a file lookup can look in different filesystems (like in
overlayfs), both super blocks must have the same encoding and the same
flags. To help with that, create a sb_same_encoding() function.

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: André Almeida <andrealmeid@igalia.com>
Reviewed-by: Gabriel Krisman Bertazi <gabriel@krisman.be>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
include/linux/fs.h