--- ./fs/smbfs/proc.c.orig Sun Mar 28 14:02:27 2004 +++ ./fs/smbfs/proc.c Sun Mar 28 14:06:59 2004 @@ -49,7 +49,9 @@ static struct smb_ops smb_ops_os2; static struct smb_ops smb_ops_win95; static struct smb_ops smb_ops_winNT; +#ifdef CONFIG_SMB_UNIX static struct smb_ops smb_ops_unix; +#endif static void smb_init_dirent(struct smb_sb_info *server, struct smb_fattr *fattr); @@ -2636,6 +2638,7 @@ return result; } +#ifdef CONFIG_SMB_UNIX /* * Note: called with the server locked. */ @@ -2680,6 +2683,7 @@ out: return result; } +#endif static int smb_proc_getattr_null(struct smb_sb_info *server, struct dentry *dir, @@ -3332,6 +3336,7 @@ .truncate = smb_proc_trunc64, }; +#ifdef CONFIG_SMB_UNIX /* Samba w/ unix extensions. Others? */ static struct smb_ops smb_ops_unix = { @@ -3341,6 +3346,7 @@ .getattr = smb_proc_getattr_unix, .truncate = smb_proc_trunc64, }; +#endif /* Place holder until real ops are in place */ static struct smb_ops smb_ops_null =