]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
quota: Move definition of QFMT_OCFS2 to linux/quota.h
authorJan Kara <jack@suse.cz>
Mon, 30 Nov 2009 21:17:41 +0000 (22:17 +0100)
committerJan Kara <jack@suse.cz>
Thu, 10 Dec 2009 14:02:53 +0000 (15:02 +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 e5df9d170b0cbd6cc8541f68fda5d34a1f62c7f5..123bc520a2c0378bd85f8a5a6fe8a30871ea3d32 100644 (file)
 
 #include "ocfs2.h"
 
-/* Common stuff */
-/* id number of quota format */
-#define QFMT_OCFS2 3
-
 /*
  * In-memory structures
  */
index f63c9d6ba7843dcb7a4983bf0d44870e534a9a4d..7db3a005483f1ea2f6b17312b962f7534490f8b7 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 */