]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
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? | |
4 | References: FATE302067 | |
5 | ||
6 | Patch adds check for [no]user_xattr in ocfs2_show_options() that completes | |
7 | the list of all mount options. | |
8 | ||
9 | Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> | |
10 | Signed-off-by: Mark Fasheh <mfasheh@suse.com> | |
11 | --- | |
12 | fs/ocfs2/super.c | 5 +++++ | |
13 | 1 files changed, 5 insertions(+), 0 deletions(-) | |
14 | ||
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); | |
22 | ||
23 | + if (opts & OCFS2_MOUNT_NOUSERXATTR) | |
24 | + seq_printf(s, ",nouser_xattr"); | |
25 | + else | |
26 | + seq_printf(s, ",user_xattr"); | |
27 | + | |
28 | return 0; | |
29 | } | |
30 | ||
31 | -- | |
32 | 1.5.4.5 | |
33 |