patch-1.3.91 linux/fs/ncpfs/inode.c
Next file: linux/fs/ncpfs/sock.c
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Apr 17 07:02:16 1996
- Orig file:
v1.3.90/linux/fs/ncpfs/inode.c
- Orig date:
Fri Apr 12 15:52:04 1996
diff -u --recursive --new-file v1.3.90/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -91,7 +91,7 @@
inode->i_nlink = 1;
inode->i_uid = NCP_SERVER(inode)->m.uid;
inode->i_gid = NCP_SERVER(inode)->m.gid;
- inode->i_blksize = 1024;
+ inode->i_blksize = 512;
inode->i_rdev = 0;
if ((inode->i_blksize != 0) && (inode->i_size != 0))
@@ -370,8 +370,10 @@
void
ncp_trigger_message(struct ncp_server *server)
{
+#ifdef CONFIG_KERNELD
char command[ sizeof(server->m.mount_point)
+ sizeof(NCP_MSG_COMMAND) + 2];
+#endif
if (server == NULL)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this