Merge branch 'error-handling' into for-linus
[linux-2.6-block.git] / fs / btrfs / volumes.c
index 57305e88ea827b4bc65e47bc13787bfa70b40054..d64cd6cbdbb65075ddddc98bc923503bec320302 100644 (file)
@@ -4434,7 +4434,7 @@ int btrfs_read_sys_array(struct btrfs_root *root)
         * to silence the warning eg. on PowerPC 64.
         */
        if (PAGE_CACHE_SIZE > BTRFS_SUPER_INFO_SIZE)
-               SetPageUptodate(sb->first_page);
+               SetPageUptodate(sb->pages[0]);
 
        write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE);
        array_size = btrfs_super_sys_array_size(super_copy);