Skip to contentSkip to conversation

smbfs: Fix mismatched declaratons in proto.h and dir.c

PATCH New Benjamin 1 participant 1 message Jan 16, 2011 Staging

lore
Share & tools
lore

Benjamin

author
#0 lore raw

PATCH 1/1 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.

---

(quoted diff) +0 -0

b/drivers/staging/smbfs/proto.h
index 3883cb1..314c4cf 100644

drivers/staging/smbfs/proto.h +1 -2
@@ -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 */