linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislav Kinsbursky <skinsbursky@parallels.com>
To: Trond.Myklebust@netapp.com
Cc: bfields@fieldses.org, linux-nfs@vger.kernel.org,
	devel@openvz.org, linux-kernel@vger.kernel.org,
	jlayton@redhat.com
Subject: [PATCH 3/5] nfs: declare nfs_xdev_mount as static
Date: Tue, 02 Oct 2012 14:19:04 +0400	[thread overview]
Message-ID: <20121002101904.15507.60636.stgit@localhost.localdomain> (raw)
In-Reply-To: <20121002101649.15507.50466.stgit@localhost.localdomain>

Sparse warning:
fs/nfs/super.c:2517:15: warning: symbol 'nfs_xdev_mount' was not declared.
Should it be static?

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
---
 fs/nfs/super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index a719bc0..b4079bb 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2514,7 +2514,7 @@ EXPORT_SYMBOL_GPL(nfs_kill_super);
 /*
  * Clone an NFS2/3/4 server record on xdev traversal (FSID-change)
  */
-struct dentry *
+static struct dentry *
 nfs_xdev_mount(struct file_system_type *fs_type, int flags,
 		const char *dev_name, void *raw_data)
 {


  parent reply	other threads:[~2012-10-02 10:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 10:18 [PATCH 0/5] nfs: few cleanup patches inspired by sparse Stanislav Kinsbursky
2012-10-02 10:18 ` [PATCH 1/5] nfs: include NFSv4 header in netns.h Stanislav Kinsbursky
2012-10-02 10:18 ` [PATCH 2/5] nfs: declare nfs_callback_tcp_port in header Stanislav Kinsbursky
2012-10-02 10:19 ` Stanislav Kinsbursky [this message]
2012-10-02 10:19 ` [PATCH 4/5] nfs: include nfs4_fh.h in nfs4sysctl.c Stanislav Kinsbursky
2012-10-02 10:19 ` [PATCH 5/5] nfs: include internah.h in getroot.h Stanislav Kinsbursky

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=20121002101904.15507.60636.stgit@localhost.localdomain \
    --to=skinsbursky@parallels.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=devel@openvz.org \
    --cc=jlayton@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).