deprecate smbfs in favour of cifs

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.

[[email protected]: documentation update]
Cc: Urban Widmark <[email protected]>
Acked-by: Steven French <[email protected]>
Signed-off-by: Oleg Verych <[email protected]>
Cc: Jeff Layton <[email protected]>
Cc: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andrew Morton 2008-02-05 14:22:58 -08:00 • committed by Linus Torvalds
commit c773633916
2 changed files with 21 additions and 14 deletions

View file

@ -500,6 +500,13 @@ static int smb_fill_super(struct super_block *sb, void *raw_data, int silent)
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"
"from the 2.6.27 kernel. Please migrate to cifs\n");
}
if (!raw_data)
goto out_no_data;