quota: Move definition of QFMT_OCFS2 to linux/quota.h
Jan Kara [Mon, 30 Nov 2009 21:17:41 +0000 (22:17 +0100)]
Move definition of this constant to linux/quota.h so that it
cannot clash with other format IDs.

CC: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>

fs/ocfs2/quota.h
include/linux/quota.h

index e5df9d1..123bc52 100644 (file)
 
 #include "ocfs2.h"
 
-/* Common stuff */
-/* id number of quota format */
-#define QFMT_OCFS2 3
-
 /*
  * In-memory structures
  */
index f63c9d6..7db3a00 100644 (file)
@@ -73,6 +73,7 @@
 /* Quota format type IDs */
 #define        QFMT_VFS_OLD 1
 #define        QFMT_VFS_V0 2
+#define QFMT_OCFS2 3
 
 /* Size of block in which space limits are passed through the quota
  * interface */