patch-2.3.32 linux/fs/hpfs/inode.c

Next file: linux/fs/hpfs/namei.c
Previous file: linux/fs/hpfs/hpfs_fn.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.31/linux/fs/hpfs/inode.c linux/fs/hpfs/inode.c
@@ -16,7 +16,7 @@
 	NULL,				/* readdir - bad */
 	NULL,				/* poll - default */
 	NULL,				/* ioctl - default */
-	generic_file_mmap/*hpfs_mmap*/,	/* mmap */
+	generic_file_mmap,		/* mmap */
 	hpfs_open,			/* open */
 	NULL,				/* flush */
 	hpfs_file_release,		/* release */
@@ -92,26 +92,10 @@
 
 const struct inode_operations hpfs_symlink_iops =
 {
-	NULL,				/* default file operations */
-	NULL,				/* create */
-	NULL,				/* lookup */
-	NULL,				/* link */
-	NULL,				/* unlink */
-	NULL,				/* symlink */
-	NULL,				/* mkdir */
-	NULL,				/* rmdir */
-	NULL,				/* mknod */
-	NULL,				/* rename */
-	hpfs_readlink,			/* readlink */
-	hpfs_follow_link,		/* follow_link */
-	NULL,				/* get_block */
-	NULL,				/* readpage */
-	NULL,				/* writepage */
-	NULL,				/* truncate */
-	NULL,				/* permission */
-	NULL				/* revalidate */
+	readlink:	page_readlink,
+	follow_link:	page_follow_link,
+	readpage:	hpfs_symlink_readpage
 };
-
 
 void hpfs_read_inode(struct inode *i)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)