[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201109091717.02975.hartleys@visionengravers.com>
Date: Fri, 9 Sep 2011 17:17:02 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <autofs@...ux.kernel.org>, <raven@...maw.net>
Subject: [PATCH] autofs4/root.c: quiet sparse noise
The function autofs4_d_manage is prototyped as a static function.
Add static to the function to quiet the sparse noise:
warning: symbol 'autofs4_d_manage' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: Ian Kent <raven@...maw.net>
---
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index f55ae23..366a9f2 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -427,7 +427,7 @@ done:
return NULL;
}
-int autofs4_d_manage(struct dentry *dentry, bool rcu_walk)
+static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk)
{
struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists