Skip to content

Commit

Permalink
quota: Move definition of QFMT_OCFS2 to linux/quota.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Kara committed Dec 10, 2009
1 parent 92e1288 commit 3067393
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions fs/ocfs2/quota.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

#include "ocfs2.h"

/* Common stuff */
/* id number of quota format */
#define QFMT_OCFS2 3

/*
* In-memory structures
*/
Expand Down
1 change: 1 addition & 0 deletions include/linux/quota.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3067393

Please sign in to comment.