diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2007-09-14 07:23:04 +0200 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-09-18 12:16:00 +0200 |
commit | b394e43e995d08821588a22561c6a71a63b4ff27 (patch) | |
tree | 42c0c50be4ac6306b4dd12134035957a9c119488 /fs/xfs/xfs_trans_buf.c | |
parent | [XFS] Ensure file size updates have been completed before writing inode to disk. (diff) | |
download | linux-b394e43e995d08821588a22561c6a71a63b4ff27.tar.xz linux-b394e43e995d08821588a22561c6a71a63b4ff27.zip |
[XFS] Avoid replaying inode buffer initialisation log items if on-disk version is newer.
SGI-PV: 969656
SGI-Modid: xfs-linux-melb:xfs-kern:29676a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans_buf.c')
-rw-r--r-- | fs/xfs/xfs_trans_buf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trans_buf.c b/fs/xfs/xfs_trans_buf.c index 60b6b898022b..95fff6872a2f 100644 --- a/fs/xfs/xfs_trans_buf.c +++ b/fs/xfs/xfs_trans_buf.c @@ -966,6 +966,7 @@ xfs_trans_inode_alloc_buf( ASSERT(atomic_read(&bip->bli_refcount) > 0); bip->bli_flags |= XFS_BLI_INODE_ALLOC_BUF; + bip->bli_format.blf_flags |= XFS_BLI_INODE_NEW_BUF; } |