[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1362990544-4365-1-git-send-email-claudiu.ghioc@gmail.com>
Date: Mon, 11 Mar 2013 10:29:04 +0200
From: Claudiu Ghioc <claudiughioc@...il.com>
To: raven@...maw.net
Cc: autofs@...r.kernel.org, linux-kernel@...r.kernel.org,
Claudiu Ghioc <claudiu.ghioc@...il.com>
Subject: [PATCH] fs: sparse warning fix for autofs4/root.c
Fixed the sparse warning:
* "fs/autofs4/root.c:411:5: warning:
symbol 'autofs4_d_manage' was not declared.
Should it be static?"
Signed-off-by: Claudiu Ghioc <claudiu.ghioc@...il.com>
---
fs/autofs4/root.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index 9bd1625..085da86 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -408,7 +408,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);
struct autofs_info *ino = autofs4_dentry_ino(dentry);
--
1.7.10.4
--
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