From: Andrew Morton smbfs is a bit buggy and has no maintainer. Change it to shout at the user on the first five mount attempts - tell them to switch to CIFS. Come December we'll mark it BROKEN and see what happens. Cc: Urban Widmark Cc: Steven French Signed-off-by: Andrew Morton --- fs/smbfs/inode.c | 7 +++++++ 1 file changed, 7 insertions(+) diff -puN fs/smbfs/inode.c~deprecate-smbfs-in-favour-of-cifs fs/smbfs/inode.c --- devel/fs/smbfs/inode.c~deprecate-smbfs-in-favour-of-cifs 2006-06-09 15:17:59.000000000 -0700 +++ devel-akpm/fs/smbfs/inode.c 2006-06-09 15:17:59.000000000 -0700 @@ -504,6 +504,13 @@ static int smb_fill_super(struct super_b struct smb_fattr root; int ver; void *mem; + static int warn_count; + + if (warn_count < 5) { + warn_count++; + printk(KERN_EMERG "smbfs is deprecated and will be removed in" + " December, 2006. Please migrate to cifs\n"); + } if (!raw_data) goto out_no_data; _