Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28434
b: refs/heads/master
c: a916e2b
h: refs/heads/master
v: v3
  • Loading branch information
Nathan Scott committed Jun 9, 2006
1 parent deaad64 commit eea2699
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 34327e138481137a81a2e33060b8eb0944013801
refs/heads/master: a916e2bd15b7572d9e791ae2a9333f74175470cd
9 changes: 4 additions & 5 deletions trunk/fs/xfs/xfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,6 @@ xfs_xlate_dinode_core(

STATIC uint
_xfs_dic2xflags(
xfs_dinode_core_t *dic,
__uint16_t di_flags)
{
uint flags = 0;
Expand Down Expand Up @@ -826,16 +825,16 @@ xfs_ip2xflags(
{
xfs_dinode_core_t *dic = &ip->i_d;

return _xfs_dic2xflags(dic, dic->di_flags) |
(XFS_CFORK_Q(dic) ? XFS_XFLAG_HASATTR : 0);
return _xfs_dic2xflags(dic->di_flags) |
(XFS_CFORK_Q(dic) ? XFS_XFLAG_HASATTR : 0);
}

uint
xfs_dic2xflags(
xfs_dinode_core_t *dic)
{
return _xfs_dic2xflags(dic, INT_GET(dic->di_flags, ARCH_CONVERT)) |
(XFS_CFORK_Q_DISK(dic) ? XFS_XFLAG_HASATTR : 0);
return _xfs_dic2xflags(INT_GET(dic->di_flags, ARCH_CONVERT)) |
(XFS_CFORK_Q_DISK(dic) ? XFS_XFLAG_HASATTR : 0);
}

/*
Expand Down

0 comments on commit eea2699

Please sign in to comment.