lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1295205418.7516.6.camel@benjamin-desktop>
Date:	Sun, 16 Jan 2011 14:16:58 -0500
From:	Benjamin <masterme120@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] smbfs: Fix mismatched declaratons in proto.h and dir.c

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@...il.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 */


--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ