[PATCH ext3] quota: qtype_enforce_flag() can be static

From: kbuild test robot
Date: Wed Jan 21 2015 - 18:35:15 EST


fs/quota/quota.c:69:14: sparse: symbol 'qtype_enforce_flag' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
quota.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/quota/quota.c b/fs/quota/quota.c
index a5b7c35..7283117 100644
--- a/fs/quota/quota.c
+++ b/fs/quota/quota.c
@@ -66,7 +66,7 @@ static int quota_sync_all(int type)
return ret;
}

-unsigned int qtype_enforce_flag(int type)
+static unsigned int qtype_enforce_flag(int type)
{
switch (type) {
case USRQUOTA:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/