Skip to contentSkip to conversation

Missed a page_address cleanup

PATCH New Daniel Phillips 1 participant 1 message Jul 15, 2001 ext2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missed a page_address cleanup

Cleans up one instance of (char *) page_address that was missed in the recent round of cleanups.

fs/ext2/dir.c +1 -1
@@ -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 - page_address(page);
 	unsigned to = from + le16_to_cpu(de->rec_len);
 	int err;