1 From: Sunil Mushran <sunil.mushran@oracle.com>
2 Subject: ocfs2: Add xattr mount option in ocfs2_show_options()
3 Patch-mainline: 2.6.28?
6 Patch adds check for [no]user_xattr in ocfs2_show_options() that completes
7 the list of all mount options.
9 Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
10 Signed-off-by: Mark Fasheh <mfasheh@suse.com>
12 fs/ocfs2/super.c | 5 +++++
13 1 files changed, 5 insertions(+), 0 deletions(-)
15 diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
16 index 2173169..d789c53 100644
17 --- a/fs/ocfs2/super.c
18 +++ b/fs/ocfs2/super.c
19 @@ -991,6 +991,11 @@ static int ocfs2_show_options(struct seq_file *s, struct vfsmount *mnt)
20 seq_printf(s, ",cluster_stack=%.*s", OCFS2_STACK_LABEL_LEN,
21 osb->osb_cluster_stack);
23 + if (opts & OCFS2_MOUNT_NOUSERXATTR)
24 + seq_printf(s, ",nouser_xattr");
26 + seq_printf(s, ",user_xattr");