Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181803
b: refs/heads/master
c: 587aa0f
h: refs/heads/master
i:
  181801: ec22e1e
  181799: 4be8b75
v: v3
  • Loading branch information
Dave Chinner committed Jan 20, 2010
1 parent 92b0e81 commit 8b4f9a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0a0eaa8da08ebc6519cacd731df05bbb4ca47ce
refs/heads/master: 587aa0feb74ffe3239b5e26ff5d017ba9f5daec9
7 changes: 3 additions & 4 deletions trunk/fs/xfs/xfs_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -1631,15 +1631,14 @@ xfs_mod_sb(xfs_trans_t *tp, __int64_t fields)
xfs_sb_to_disk(XFS_BUF_TO_SBP(bp), &mp->m_sb, fields);

/* find modified range */
f = (xfs_sb_field_t)xfs_highbit64((__uint64_t)fields);
ASSERT((1LL << f) & XFS_SB_MOD_BITS);
last = xfs_sb_info[f + 1].offset - 1;

f = (xfs_sb_field_t)xfs_lowbit64((__uint64_t)fields);
ASSERT((1LL << f) & XFS_SB_MOD_BITS);
first = xfs_sb_info[f].offset;

f = (xfs_sb_field_t)xfs_highbit64((__uint64_t)fields);
ASSERT((1LL << f) & XFS_SB_MOD_BITS);
last = xfs_sb_info[f + 1].offset - 1;

xfs_trans_log_buf(tp, bp, first, last);
}

Expand Down

0 comments on commit 8b4f9a0

Please sign in to comment.