ocfs2: Add xattr mount option in ocfs2_show_options()
[safe/jmp/linux-2.6] / fs / ocfs2 / super.c
index 8b4c5c6..d2027ce 100644 (file)
@@ -1010,6 +1010,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");
+
        if (opts & OCFS2_MOUNT_INODE64)
                seq_printf(s, ",inode64");