Re: [PATCH] docs: Remove remainders of reiserfs

From: Stephen Smalley
Date: Wed Aug 13 2025 - 11:50:26 EST


On Wed, Aug 13, 2025 at 6:04 AM David Sterba <dsterba@xxxxxxxx> wrote:
>
> Reiserfs has been removed in 6.13, there are still some mentions in the
> documentation about it and the tools. Remove those that don't seem
> relevant anymore but keep references to reiserfs' r5 hash used by some
> code.
>
> There's one change in a script scripts/selinux/install_policy.sh but it
> does not seem to be relevant either.
>
> Signed-off-by: David Sterba <dsterba@xxxxxxxx>
> ---

> diff --git a/scripts/selinux/install_policy.sh b/scripts/selinux/install_policy.sh
> index db40237e60ce7e..77368a73f11171 100755
> --- a/scripts/selinux/install_policy.sh
> +++ b/scripts/selinux/install_policy.sh
> @@ -74,7 +74,7 @@ cd /etc/selinux/dummy/contexts/files
> $SF -F file_contexts /
>
> mounts=`cat /proc/$$/mounts | \
> - grep -E "ext[234]|jfs|xfs|reiserfs|jffs2|gfs2|btrfs|f2fs|ocfs2" | \
> + grep -E "ext[234]|jfs|xfs|jffs2|gfs2|btrfs|f2fs|ocfs2" | \
> awk '{ print $2 '}`
> $SF -F file_contexts $mounts
>

Just commenting on the selinux part, this entire list of filesystem
types could likely be removed and replaced by just running "fixfiles
relabel" instead, which on modern kernels (>= 2.6.30) will check for
the "seclabel" option in /proc/self/mounts entries to determine which
filesystems support security labeling.