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. [olecom@flower.upol.cz: documentation update] Cc: Urban Widmark <urban@teststation.com> Acked-by: Steven French <sfrench@us.ibm.com> Signed-off-by: Oleg Verych <olecom@flower.upol.cz> Cc: Jeff Layton <jlayton@redhat.com> Cc: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
9692bd9c14
commit
c773633916
@@ -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;
|
||||
|
Reference in New Issue
Block a user