quota: explicitly set ->dq_op and ->s_qcop
[pandora-kernel.git] / fs / udf / super.c
index 76a6156..ef9221b 100644 (file)
@@ -1948,7 +1948,11 @@ static int udf_fill_super(struct super_block *sb, void *options, int silent)
        /* Fill in the rest of the superblock */
        sb->s_op = &udf_sb_ops;
        sb->s_export_op = &udf_export_ops;
-       sb->dq_op = NULL;
+#ifdef CONFIG_QUOTA
+       sb->s_qcop = &vfs_quotactl_ops;
+       sb->dq_op = NULL; /* &dquot_operations */
+#endif
+
        sb->s_dirt = 0;
        sb->s_magic = UDF_SUPER_MAGIC;
        sb->s_time_gran = 1000;