patch-2.3.43 linux/fs/udf/symlink.c

Next file: linux/fs/udf/truncate.c
Previous file: linux/fs/udf/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/udf/symlink.c linux/fs/udf/symlink.c
@@ -121,23 +121,6 @@
 /*
  * symlinks can't do much...
  */
-struct inode_operations udf_symlink_inode_operations = {
-	NULL,				/* no file-operations */
-	NULL,				/* create */
-	NULL,				/* lookup */
-	NULL,				/* link */
-	NULL,				/* unlink */
-	NULL,				/* symlink */
-	NULL,				/* mkdir */
-	NULL,				/* rmdir */
-	NULL,				/* mknod */
-	NULL,				/* rename */
-	page_readlink,		/* readlink */
-	page_follow_link,	/* follow_link */
-	NULL,				/* get_block */
-	udf_symlink_filler,	/* readpage */
-	NULL,				/* writepage */
-	NULL,				/* truncate */
-	NULL,				/* permission */
-	NULL				/* revalidate */
+struct address_space_operations udf_symlink_aops = {
+	readpage:	udf_symlink_filler,
 };

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