From: Atul Sowani <sowani@gmail.com>
To: viro@zeniv.linux.org.uk
Cc: raven@themaw.net, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, autofs@linux.kernel.org,
linux-afs@lists.infradead.org
Subject: Subject: [PATCH 2.6.36 1/1] autofs4: fix for root.c compiler warnings.
Date: Mon, 08 Nov 2010 21:29:58 +0530 [thread overview]
Message-ID: <4CD81E7E.20308@gmail.com> (raw)
Added conditional compilation with CONFIG_COMPAT to avoid compiler warning:
fs/autofs4/root.c:31: warning: autofs4_root_compat_ioctl declared static but never defined
Signed-off-by: Atul Sowani <sowani@gmail.com>
---
diff -uprN a/fs/autofs4/root.c b/fs/autofs4/root.c
--- a/fs/autofs4/root.c 2010-10-21 02:00:22.000000000 +0530
+++ b/fs/autofs4/root.c 2010-11-08 09:37:47.675766134 +0530
@@ -28,7 +28,9 @@ static int autofs4_dir_unlink(struct ino
static int autofs4_dir_rmdir(struct inode *,struct dentry *);
static int autofs4_dir_mkdir(struct inode *,struct dentry *,int);
static long autofs4_root_ioctl(struct file *,unsigned int,unsigned long);
+#ifdef CONFIG_COMPAT
static long autofs4_root_compat_ioctl(struct file *,unsigned int,unsigned long);
+#endif
static int autofs4_dir_open(struct inode *inode, struct file *file);
static struct dentry *autofs4_lookup(struct inode *,struct dentry *, struct nameidata *);
static void *autofs4_follow_link(struct dentry *, struct nameidata *);
--
Atul Sowani (sowani@gmail.com)
http://savannah.gnu.org/users/atul
------------------------------------------------------------------------
reply other threads:[~2010-11-08 16:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4CD81E7E.20308@gmail.com \
--to=sowani@gmail.com \
--cc=autofs@linux.kernel.org \
--cc=linux-afs@lists.infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=raven@themaw.net \
--cc=viro@zeniv.linux.org.uk \
/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
Powered by JetHome