From: Jan Kara <jack@suse.cz>
To: linux-fsdevel@vger.kernel.org
Cc: Jan Kara <jack@suse.cz>, Joel Becker <Joel.Becker@oracle.com>
Subject: [PATCH 1/4] quota: Move definition of QFMT_OCFS2 to linux/quota.h
Date: Wed, 2 Dec 2009 21:52:08 +0100 [thread overview]
Message-ID: <1259787131-6218-2-git-send-email-jack@suse.cz> (raw)
In-Reply-To: <1259787131-6218-1-git-send-email-jack@suse.cz>
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 | 4 ----
include/linux/quota.h | 1 +
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/fs/ocfs2/quota.h b/fs/ocfs2/quota.h
index e5df9d1..123bc52 100644
--- a/fs/ocfs2/quota.h
+++ b/fs/ocfs2/quota.h
@@ -17,10 +17,6 @@
#include "ocfs2.h"
-/* Common stuff */
-/* id number of quota format */
-#define QFMT_OCFS2 3
-
/*
* In-memory structures
*/
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 78c4889..4ff3191 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -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 */
--
1.6.4.2
next prev parent reply other threads:[~2009-12-02 20:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 20:52 [PATCH 0/4] Implement 64-bit quota format Jan Kara
2009-12-02 20:52 ` Jan Kara [this message]
2009-12-02 20:52 ` [PATCH 2/4] quota: Implement quota format with 64-bit space and inode limits Jan Kara
2009-12-02 20:52 ` [PATCH 3/4] ext3: Support for vfsv1 quota format Jan Kara
2009-12-02 20:52 ` [PATCH 4/4] ext4: Support for 64-bit " Jan Kara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1259787131-6218-2-git-send-email-jack@suse.cz \
--to=jack@suse.cz \
--cc=Joel.Becker@oracle.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).