| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 12/20] EXCLUDED_FILE_TYPES: Fix macro for negation case |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 22 Dec 2008 11:38:43 -0500 |
| Cc: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
| References: | <20081222163831.755809000@bombadil.infradead.org> |
| User-agent: | quilt/0.46-1 |
From: Arkadiusz Miskiewicz <arekm@xxxxxxxx
Fix EXCLUDED_FILE_TYPES in case when someone will
try to do if (!EXCLUDED_FILE_TYPES()).
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
---
xfsprogs/quota/project.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xfsprogs/quota/project.c b/xfsprogs/quota/project.c
index 7eac8e4..b4171e5 100644
--- a/xfsprogs/quota/project.c
+++ b/xfsprogs/quota/project.c
@@ -31,11 +31,11 @@ enum {
};
#define EXCLUDED_FILE_TYPES(x) \
- S_ISCHR((x)) \
+ (S_ISCHR((x)) \
|| S_ISBLK((x)) \
|| S_ISFIFO((x)) \
|| S_ISLNK((x)) \
- || S_ISSOCK((x))
+ || S_ISSOCK((x)))
static void
project_help(void)
--
1.6.0.5
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs
--
|
| Previous by Date: | [PATCH 10/20] xfs_quota: Warn if specified non-zero quota will be round down to zero, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 11/20] xfs_quota: Dont ignore every error when asking for quota, Christoph Hellwig |
| Previous by Thread: | [PATCH 10/20] xfs_quota: Warn if specified non-zero quota will be round down to zero, Christoph Hellwig |
| Next by Thread: | [PATCH 11/20] xfs_quota: Dont ignore every error when asking for quota, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |