Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6
authorLinus Torvalds <torvalds@woody.osdl.org>
Tue, 21 Nov 2006 16:07:38 +0000 (08:07 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Tue, 21 Nov 2006 16:07:38 +0000 (08:07 -0800)
* 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6:
  [PATCH] x86_64: Align data segment to PAGE_SIZE boundary
  [PATCH] x86-64: increase PHB1 split transaction timeout
  [PATCH] x86-64: Fix C3 timer test

fs/xfs/xfs_bmap.c
fs/xfs/xfs_inode.c

index 5b050c06795fbbf3abd51b0f6c77a24daccc33f4..498ad50d1f452807eba88e042f55341ea4498c3d 100644 (file)
@@ -1171,6 +1171,8 @@ xfs_bmap_add_extent_delay_real(
                xfs_bmap_trace_pre_update(fname, "0", ip, idx, XFS_DATA_FORK);
                xfs_bmbt_set_blockcount(ep, temp);
                r[0] = *new;
+               r[1].br_state = PREV.br_state;
+               r[1].br_startblock = 0;
                r[1].br_startoff = new_endoff;
                temp2 = PREV.br_startoff + PREV.br_blockcount - new_endoff;
                r[1].br_blockcount = temp2;
index d72c80dbfbb1fd64629c72b6d5797beb8008624c..44dfac5212856567195068f9570e65f8857709c5 100644 (file)
@@ -2258,7 +2258,7 @@ xfs_ifree_cluster(
                                AIL_LOCK(mp,s);
                                iip->ili_flush_lsn = iip->ili_item.li_lsn;
                                AIL_UNLOCK(mp, s);
-                               xfs_iflags_set(ip, XFS_ISTALE);
+                               xfs_iflags_set(iip->ili_inode, XFS_ISTALE);
                                pre_flushed++;
                        }
                        lip = lip->li_bio_list;