diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2008-09-05 14:29:14 -0400 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 20:02:43 -0400 |
commit | b0f73cfc36ed62decdd3f78e943bbfd00ee80e49 (patch) | |
tree | 66449d0a071b68774edc85e17d09af737d4b83d6 /fs | |
parent | 2b4e30fbde425828b17f0e9c8f8e3fd3ecb2bc75 (diff) |
ocfs2: Add xattr mount option in ocfs2_show_options()
Patch adds check for [no]user_xattr in ocfs2_show_options() that completes
the list of all mount options.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ocfs2/super.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 8b4c5c67dcd4..d2027cec8f3b 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1010,6 +1010,11 @@ static int ocfs2_show_options(struct seq_file *s, struct vfsmount *mnt) | |||
1010 | seq_printf(s, ",cluster_stack=%.*s", OCFS2_STACK_LABEL_LEN, | 1010 | seq_printf(s, ",cluster_stack=%.*s", OCFS2_STACK_LABEL_LEN, |
1011 | osb->osb_cluster_stack); | 1011 | osb->osb_cluster_stack); |
1012 | 1012 | ||
1013 | if (opts & OCFS2_MOUNT_NOUSERXATTR) | ||
1014 | seq_printf(s, ",nouser_xattr"); | ||
1015 | else | ||
1016 | seq_printf(s, ",user_xattr"); | ||
1017 | |||
1013 | if (opts & OCFS2_MOUNT_INODE64) | 1018 | if (opts & OCFS2_MOUNT_INODE64) |
1014 | seq_printf(s, ",inode64"); | 1019 | seq_printf(s, ",inode64"); |
1015 | 1020 | ||