Re: [PATCH] ncpfs, kernel 2.4.18

Petr Vandrovec (VANDROVE@vc.cvut.cz)
Fri, 4 Apr 2003 13:45:41 +0200


On 4 Apr 03 at 13:24, David Jander wrote:

> 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.

What they say? It is completely legal to use NULL path in ncp_obtain_info,
and in reality ncp_obtain_mtime() in fs/ncpfs/dir.c uses NULL path
explicitly (and it also checks for 'ncp_is_server_root(inode)', at least
in 2.5.66 and 2.4.19). See ncp_add_handle_path, it contains code which
converts NULL path to no path at all.

Do not you just have loaded some misguided antivirus software on your server?
ncpfs uses inode based addressing scheme, where files are accessed by their
numbers instead of name. Only thing which accesses files by name are
validating functions, for converting name to number, and unlink (because of
4.x servers crash when unlink by inode is invoked on NFS namespace).
Petr Vandrovec

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/