X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fsmbfs%2Finode.c;h=4e5c22ca802e86f77380f51fdb402bcd7add26c9;hb=197cd65accc6a274dabcd81f4811ba5d9a4856df;hp=9416ead0c7aae67ef1c2bd8b9d3ce12e79cdd9c8;hpb=4fd3670eb1d3c33e8952cf1e79edbb2d517dcfb5;p=linux-2.6 diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c index 9416ead0c7..4e5c22ca80 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;