]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ovl: show "userxattr" in the mount data
authorGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 4 Mar 2021 16:45:15 +0000 (17:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 08:50:08 +0000 (10:50 +0200)
[ Upstream commit 321b46b904816241044e177c1d6282ad20f17416 ]

This was missed when adding the option.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Fixes: 2d2f2d7322ff ("ovl: user xattr")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/overlayfs/super.c

index 3ff33e1ad6f30d6b1671133c465cfb076b3b3249..ce274d4e6700a794bc0edf317600b37dd0301e77 100644 (file)
@@ -380,6 +380,8 @@ static int ovl_show_options(struct seq_file *m, struct dentry *dentry)
                           ofs->config.metacopy ? "on" : "off");
        if (ofs->config.ovl_volatile)
                seq_puts(m, ",volatile");
+       if (ofs->config.userxattr)
+               seq_puts(m, ",userxattr");
        return 0;
 }