Skip to contentSkip to conversation

simple fix

PATCH New Giuliano Pochini 1 participant 1 message Jan 27, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 simple fix

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

hfs/extent.c Wed Jan 28 00:31:56 2004 renamed from hfs/extent.c_old Wed Jan 28 00:31:30 2004 +1 -1
@@ -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/