diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-05 14:22:58 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 14:37:15 -0800 |
commit | c773633916c66f8362ca01983d97bd33e35b743f (patch) | |
tree | 4c3da7d614c530d851db6b3c6bcc3d85519feeb3 /fs/smbfs | |
parent | 9692bd9c140618e3f6a2848900aee96c9cd8a65c (diff) | |
download | kernel_goldelico_gta04-c773633916c66f8362ca01983d97bd33e35b743f.zip kernel_goldelico_gta04-c773633916c66f8362ca01983d97bd33e35b743f.tar.gz kernel_goldelico_gta04-c773633916c66f8362ca01983d97bd33e35b743f.tar.bz2 |
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>
Diffstat (limited to 'fs/smbfs')
-rw-r--r-- | fs/smbfs/inode.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c index 9416ead..4e5c22c 100644 --- a/fs/smbfs/inode.c +++ b/fs/smbfs/inode.c @@ -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; |