patch-2.3.48 linux/fs/udf/inode.c

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

diff -u --recursive --new-file v2.3.47/linux/fs/udf/inode.c linux/fs/udf/inode.c
@@ -1077,6 +1077,7 @@
 		case FILE_TYPE_DIRECTORY:
 		{
 			inode->i_op = &udf_dir_inode_operations;
+			inode->i_fop = &udf_dir_operations;
 			inode->i_mode |= S_IFDIR;
 			inode->i_nlink ++;
 			break;
@@ -1089,6 +1090,7 @@
 			else
 				inode->i_data.a_ops = &udf_aops;
 			inode->i_op = &udf_file_inode_operations;
+			inode->i_fop = &udf_file_operations;
 			inode->i_mode |= S_IFREG;
 			break;
 		}

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