Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23151
b: refs/heads/master
c: d7929ff
h: refs/heads/master
i:
  23149: ed62e54
  23147: 44bbe20
  23143: c6e9cab
  23135: 920fefc
v: v3
  • Loading branch information
Nathan Scott committed Mar 17, 2006
1 parent e89728a commit 08866f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 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: 984a081a7c89ea7e1b6f47cbc0e5c8ef67ad6e09
refs/heads/master: d7929ff670c802dc68d6149d3d0cc5667e18daec
14 changes: 5 additions & 9 deletions trunk/fs/xfs/xfs_attr_leaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2938,11 +2938,9 @@ xfs_attr_leaf_inactive(xfs_trans_t **trans, xfs_inode_t *dp, xfs_dabuf_t *bp)
((entry->flags & XFS_ATTR_LOCAL) == 0)) {
name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, i);
if (name_rmt->valueblk) {
/* both on-disk, don't endian flip twice */
lp->valueblk = name_rmt->valueblk;
INT_SET(lp->valuelen, ARCH_CONVERT,
XFS_B_TO_FSB(dp->i_mount,
be32_to_cpu(name_rmt->valuelen)));
lp->valueblk = be32_to_cpu(name_rmt->valueblk);
lp->valuelen = XFS_B_TO_FSB(dp->i_mount,
be32_to_cpu(name_rmt->valuelen));
lp++;
}
}
Expand All @@ -2955,10 +2953,8 @@ xfs_attr_leaf_inactive(xfs_trans_t **trans, xfs_inode_t *dp, xfs_dabuf_t *bp)
error = 0;
for (lp = list, i = 0; i < count; i++, lp++) {
tmp = xfs_attr_leaf_freextent(trans, dp,
INT_GET(lp->valueblk,
ARCH_CONVERT),
INT_GET(lp->valuelen,
ARCH_CONVERT));
lp->valueblk, lp->valuelen);

if (error == 0)
error = tmp; /* save only the 1st errno */
}
Expand Down

0 comments on commit 08866f3

Please sign in to comment.