From: Giuseppe Scrivano Date: Thu, 4 Mar 2021 16:45:15 +0000 (+0100) Subject: ovl: show "userxattr" in the mount data X-Git-Tag: v5.12.4~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eecb662975c0cc8964a9456f038b908cf79cd0e8;p=thirdparty%2Fkernel%2Fstable.git ovl: show "userxattr" in the mount data [ Upstream commit 321b46b904816241044e177c1d6282ad20f17416 ] This was missed when adding the option. Signed-off-by: Giuseppe Scrivano Reviewed-by: Vivek Goyal Fixes: 2d2f2d7322ff ("ovl: user xattr") Signed-off-by: Miklos Szeredi Signed-off-by: Sasha Levin --- diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 8cf3433350296..787ce7c38fba5 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -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; }