patch-2.3.43 linux/fs/ncpfs/dir.c
Next file: linux/fs/ncpfs/file.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Feb 10 12:16:59 2000
- Orig file:
v2.3.42/linux/fs/ncpfs/dir.c
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.42/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -47,17 +47,9 @@
static struct file_operations ncp_dir_operations =
{
- NULL, /* lseek - default */
- ncp_dir_read, /* read - bad */
- NULL, /* write - bad */
- ncp_readdir, /* readdir */
- NULL, /* poll - default */
- ncp_ioctl, /* ioctl */
- NULL, /* mmap */
- NULL, /* no special open code */
- NULL, /* flush */
- NULL, /* no special release code */
- NULL /* fsync */
+ read: ncp_dir_read,
+ readdir: ncp_readdir,
+ ioctl: ncp_ioctl,
};
struct inode_operations ncp_dir_inode_operations =
@@ -78,9 +70,6 @@
ncp_rename, /* rename */
NULL, /* readlink */
NULL, /* follow link */
- NULL, /* get_block */
- NULL, /* readpage */
- NULL, /* writepage */
NULL, /* truncate */
NULL, /* permission */
NULL, /* revalidate */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)