patch-2.4.7 linux/fs/ext2/dir.c

Next file: linux/fs/ext2/file.c
Previous file: linux/fs/ext2/balloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/fs/ext2/dir.c linux/fs/ext2/dir.c
@@ -363,7 +363,7 @@
 void ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de,
 			struct page *page, struct inode *inode)
 {
-	unsigned from = (char *)de-(char*)page_address(page);
+	unsigned from = (char *) de - (char *) page_address(page);
 	unsigned to = from + le16_to_cpu(de->rec_len);
 	int err;
 
@@ -578,5 +578,6 @@
 struct file_operations ext2_dir_operations = {
 	read:		generic_read_dir,
 	readdir:	ext2_readdir,
+	ioctl:		ext2_ioctl,
 	fsync:		ext2_sync_file,
 };

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