linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] simple fix
@ 2004-01-27 23:36 Giuliano Pochini
  0 siblings, 0 replies; only message in thread
From: Giuliano Pochini @ 2004-01-27 23:36 UTC (permalink / raw)
  To: LinuxPPC-dev


Small patch against linuxppc-2.5-benh rsync tree pulled half hour ago (GMT+1).


--- fs/hfs/extent.c_old Wed Jan 28 00:31:30 2004
+++ fs/hfs/extent.c     Wed Jan 28 00:31:56 2004
@@ -470,8 +470,8 @@
        if (inode->i_size > HFS_I(inode)->phys_size) {
                struct address_space *mapping = inode->i_mapping;
                struct page *page;
-               size = inode->i_size - 1;
                int res;
+               size = inode->i_size - 1;

                page = grab_cache_page(mapping, size >> PAGE_CACHE_SHIFT);
                if (!page)



--
Giuliano.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-27 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-27 23:36 [PATCH] simple fix Giuliano Pochini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).