lkml.org 
[lkml]   [2003]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ncpfs, kernel 2.4.18
Date

This fixes a bug with Novell Netware Servers (in my case 3.12) sending error
messages (and annoying beeps) to the console each time a linux client
accesses de root directory of a volume. Please comment !
Please send replies with CC to me, since I am not subscribed to lkml.

--
David Jander
Protonic Holland.
e-mail: david.jander@protonic.nl
--- linux-2.4.18/fs/ncpfs/ncplib_kernel.c Fri Dec 21 18:41:55 2001
+++ linux-2.4.18-ncpfix/fs/ncpfs/ncplib_kernel.c Fri Apr 4 13:12:03 2003
@@ -272,6 +272,12 @@
__u32 dirent = NCP_FINFO(dir)->dirEntNum;
int result;

+ DPRINTK("NCPFS : ncp_optain_info for: %s\n",path);
+ if(path==NULL)
+ {
+ printk(KERN_ERR "ncp_obtain_info: Invalid path %s!\n",path);
+ return -EINVAL;
+ }
if (target == NULL) {
printk(KERN_ERR "ncp_obtain_info: invalid call\n");
return -EINVAL;
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.019 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site