patch-2.3.43 linux/fs/smbfs/dir.c
Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/select.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Feb 10 12:16:59 2000
- Orig file:
v2.3.42/linux/fs/smbfs/dir.c
- Orig date:
Tue Dec 7 09:32:48 1999
diff -u --recursive --new-file v2.3.42/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -32,17 +32,10 @@
static struct file_operations smb_dir_operations =
{
- NULL, /* lseek - default */
- smb_dir_read, /* read - bad */
- NULL, /* write - bad */
- smb_readdir, /* readdir */
- NULL, /* poll - default */
- smb_ioctl, /* ioctl */
- NULL, /* mmap */
- smb_dir_open, /* open(struct inode *, struct file *) */
- NULL, /* flush */
- NULL, /* no special release code */
- NULL /* fsync */
+ read: smb_dir_read,
+ readdir: smb_readdir,
+ ioctl: smb_ioctl,
+ open: smb_dir_open,
};
struct inode_operations smb_dir_inode_operations =
@@ -59,9 +52,6 @@
smb_rename, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- NULL, /* get_block */
- NULL, /* readpage */
- NULL, /* writepage */
NULL, /* truncate */
NULL, /* permission */
smb_revalidate_inode, /* revalidate */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)