lkml.org 
[lkml]   [2001]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Missed a page_address cleanup
Date
Cleans up one instance of (char *) page_address that was missed in
the recent round of cleanups.

--- 2.4.6.clean/fs/ext2/dir.c Wed Jun 20 20:40:14 2001
+++ 2.4.6/fs/ext2/dir.c Sun Jul 15 23:03:41 2001
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.032 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site