Skip to contentSkip to conversation

ocfs2: Add xattr mount option in ocfs2_show_options()

PATCH New Sunil Mushran 2 participants 2 messages Sep 5, 2008 – Sep 7, 2008 OCFS2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ocfs2: Add xattr mount option in ocfs2_show_options()

Patch adds check for [no]user_xattr in ocfs2_show_options() that compiles the list of all mount options.

---
 fs/ocfs2/super.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
fs/ocfs2/super.c +5 -0
index 2173169..d789c53 100644
@@ -991,6 +991,11 @@ static int ocfs2_show_options(struct seq_file *s, struct vfsmount *mnt)
 		seq_printf(s, ",cluster_stack=%.*s", OCFS2_STACK_LABEL_LEN,
 			   osb->osb_cluster_stack);
 
+	if (opts & OCFS2_MOUNT_NOUSERXATTR)
+		seq_printf(s, ",nouser_xattr");
+	else
+		seq_printf(s, ",user_xattr");
+
 	return 0;
 }
 
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 ocfs2: Add xattr mount option in ocfs2_show_options()

Quoted 2 lines · Sunil Mushran

Patch adds check for [no]user_xattr in ocfs2_show_options() that compiles the list of all mount options.

Thanks, this is in ocfs2.git now.

	--Mark

--
Mark Fasheh