patch-2.0.21-2.1.0 linux/fs/smbfs/dir.c
Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Sep 30 11:13:36 1996
- Orig file:
lx2.0/v2.0.21/linux/fs/smbfs/dir.c
- Orig date:
Wed Sep 11 17:57:16 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -18,8 +18,8 @@
#define NAME_OFFSET(de) ((int) ((de)->d_name - (char *) (de)))
#define ROUND_UP(x) (((x)+3) & ~3)
-static int
-smb_dir_read(struct inode *inode, struct file *filp, char *buf, int count);
+static long
+smb_dir_read(struct inode *inode, struct file *filp, char *buf, unsigned long count);
static int
smb_readdir(struct inode *inode, struct file *filp,
@@ -115,8 +115,8 @@
};
-static int
-smb_dir_read(struct inode *inode, struct file *filp, char *buf, int count)
+static long
+smb_dir_read(struct inode *inode, struct file *filp, char *buf, unsigned long count)
{
return -EISDIR;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov