Commit 30673930051e5203d0b826b8b8f2454cab453b94

Authored by Jan Kara
1 parent 92e128884b

quota: Move definition of QFMT_OCFS2 to linux/quota.h

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>

Showing 2 changed files with 1 additions and 4 deletions Side-by-side Diff

... ... @@ -17,10 +17,6 @@
17 17  
18 18 #include "ocfs2.h"
19 19  
20   -/* Common stuff */
21   -/* id number of quota format */
22   -#define QFMT_OCFS2 3
23   -
24 20 /*
25 21 * In-memory structures
26 22 */
include/linux/quota.h
... ... @@ -73,6 +73,7 @@
73 73 /* Quota format type IDs */
74 74 #define QFMT_VFS_OLD 1
75 75 #define QFMT_VFS_V0 2
  76 +#define QFMT_OCFS2 3
76 77  
77 78 /* Size of block in which space limits are passed through the quota
78 79 * interface */