From: Benjamin <masterme120@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] smbfs: Fix mismatched declaratons in proto.h and dir.c
Date: Sun, 16 Jan 2011 14:16:58 -0500 [thread overview]
Message-ID: <1295205418.7516.6.camel@benjamin-desktop> (raw)
This patch fixes a mismatch of the declarations of
smbfs_dentry_operations_case and smbfs_dentry_operations in
drivers/staging/smbfs/dir.c and drivers/staging/smbfs/proto.h by making
them static in both files.
Signed-off-by: Benjamin Fair <masterme120@gmail.com>
---
diff --git a/drivers/staging/smbfs/proto.h
b/drivers/staging/smbfs/proto.h
index 3883cb1..314c4cf 100644
--- a/drivers/staging/smbfs/proto.h
+++ b/drivers/staging/smbfs/proto.h
@@ -38,8 +38,8 @@ extern void smb_install_null_ops(struct smb_ops *ops);
extern const struct file_operations smb_dir_operations;
extern const struct inode_operations smb_dir_inode_operations;
extern const struct inode_operations smb_dir_inode_operations_unix;
-extern const struct dentry_operations smbfs_dentry_operations_case;
-extern const struct dentry_operations smbfs_dentry_operations;
+extern static const struct dentry_operations
smbfs_dentry_operations_case;
+extern static const struct dentry_operations smbfs_dentry_operations;
extern void smb_new_dentry(struct dentry *dentry);
extern void smb_renew_times(struct dentry *dentry);
/* cache.c */
reply other threads:[~2011-01-16 19:14 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=1295205418.7516.6.camel@benjamin-desktop \
--to=masterme120@gmail.com \
--cc=linux-kernel@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