Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114383
b: refs/heads/master
c: ff1ec20
h: refs/heads/master
i:
  114381: 8e6d947
  114379: 5b19503
  114375: 1da1e18
  114367: 92a28de
v: v3
  • Loading branch information
Mark Fasheh committed Oct 13, 2008
1 parent 7c8a761 commit c8767a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 8154da3d2114241cf3edb108b43e2172be86d483
refs/heads/master: ff1ec20ef65d51cc3466e86912cdeaac16f3aaa0
7 changes: 4 additions & 3 deletions trunk/fs/ocfs2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3264,7 +3264,8 @@ static int ocfs2_half_xattr_bucket(struct inode *inode,
xe = &xh->xh_entries[start];
len = sizeof(struct ocfs2_xattr_entry) * (count - start);
mlog(0, "mv xattr entry len %d from %d to %d\n", len,
(char *)xe - (char *)xh, (char *)xh->xh_entries - (char *)xh);
(int)((char *)xe - (char *)xh),
(int)((char *)xh->xh_entries - (char *)xh));
memmove((char *)xh->xh_entries, (char *)xe, len);
xe = &xh->xh_entries[count - start];
len = sizeof(struct ocfs2_xattr_entry) * start;
Expand Down Expand Up @@ -4073,8 +4074,8 @@ static int ocfs2_xattr_set_entry_in_bucket(struct inode *inode,
u16 blk_per_bucket = ocfs2_blocks_per_xattr_bucket(inode->i_sb);
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);

mlog(0, "Set xattr entry len = %d index = %d in bucket %llu\n",
xi->value_len, xi->name_index,
mlog(0, "Set xattr entry len = %lu index = %d in bucket %llu\n",
(unsigned long)xi->value_len, xi->name_index,
(unsigned long long)xs->bucket.bhs[0]->b_blocknr);

if (!xs->bucket.bhs[1]) {
Expand Down

0 comments on commit c8767a7

Please sign in to comment.