[PATCH] simple fix

Giuliano Pochini pochini at shiny.it
Wed Jan 28 10:36:22 EST 2004


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/





More information about the Linuxppc-dev mailing list