aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Ruirui <ruirui.r.yang@tieto.com>2011-01-14 02:51:04 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-17 01:50:52 -0500
commiteb745dbccce56f1bbe3f80b95ad2a325145171c2 (patch)
tree31bf7fc84799680b23f59b7d65a5221b768e57a1
parentb1e75df45a3d8a490b8648e44632debc5eea04b1 (diff)
staging: smbfs building fix
Building error for smbfs: drivers/staging/smbfs/dir.c:286: error: static declaration of 'smbfs_dentry_operations' follows non-static declaration drivers/staging/smbfs/proto.h:42: error: previous declaration of 'smbfs_dentry_operations' was here drivers/staging/smbfs/dir.c:294: error: static declaration of 'smbfs_dentry_operations_case' follows non-static declaration drivers/staging/smbfs/proto.h:41: error: previous declaration of 'smbfs_dentry_operations_case' was here make[3]: *** [drivers/staging/smbfs/dir.o] Error 1 make[2]: *** [drivers/staging/smbfs] Error 2 make[1]: *** [drivers/staging] Error 2 make[1]: *** Waiting for unfinished jobs.... Fix it by removing static keywords Signed-off-by: Yang Ruirui <ruirui.r.yang@tieto.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/staging/smbfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/smbfs/dir.c b/drivers/staging/smbfs/dir.c
index 87a3a9bd5842..f204d33910ec 100644
--- a/drivers/staging/smbfs/dir.c
+++ b/drivers/staging/smbfs/dir.c
@@ -283,7 +283,7 @@ static int smb_compare_dentry(const struct dentry *,
283 unsigned int, const char *, const struct qstr *); 283 unsigned int, const char *, const struct qstr *);
284static int smb_delete_dentry(const struct dentry *); 284static int smb_delete_dentry(const struct dentry *);
285 285
286static const struct dentry_operations smbfs_dentry_operations = 286const struct dentry_operations smbfs_dentry_operations =
287{ 287{
288 .d_revalidate = smb_lookup_validate, 288 .d_revalidate = smb_lookup_validate,
289 .d_hash = smb_hash_dentry, 289 .d_hash = smb_hash_dentry,
@@ -291,7 +291,7 @@ static const struct dentry_operations smbfs_dentry_operations =
291 .d_delete = smb_delete_dentry, 291 .d_delete = smb_delete_dentry,
292}; 292};
293 293
294static const struct dentry_operations smbfs_dentry_operations_case = 294const struct dentry_operations smbfs_dentry_operations_case =
295{ 295{
296 .d_revalidate = smb_lookup_validate, 296 .d_revalidate = smb_lookup_validate,
297 .d_delete = smb_delete_dentry, 297 .d_delete = smb_delete_dentry,