patch-2.1.60 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: 21
- Date:
Tue Oct 21 08:57:29 1997
- Orig file:
v2.1.59/linux/fs/smbfs/dir.c
- Orig date:
Wed Oct 15 16:04:23 1997
diff -u --recursive --new-file v2.1.59/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -23,7 +23,7 @@
/* #define SMBFS_DEBUG_VERBOSE 1 */
/* #define pr_debug printk */
-static long smb_dir_read(struct inode *, struct file *, char *, unsigned long);
+static ssize_t smb_dir_read(struct file *, char *, size_t, loff_t *);
static int smb_readdir(struct file *, void *, filldir_t);
static int smb_dir_open(struct inode *, struct file *);
@@ -71,9 +71,8 @@
NULL /* smap */
};
-static long
-smb_dir_read(struct inode *inode, struct file *filp, char *buf,
- unsigned long count)
+static ssize_t
+smb_dir_read(struct file *filp, char *buf, size_t count, loff_t *ppos)
{
return -EISDIR;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov