[XFS] Remove unused parameter from di2xflags routine.
SGI-PV: 904192 SGI-Modid: xfs-linux-melb:xfs-kern:26110a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
@@ -783,7 +783,6 @@ xfs_xlate_dinode_core(
|
|||||||
|
|
||||||
STATIC uint
|
STATIC uint
|
||||||
_xfs_dic2xflags(
|
_xfs_dic2xflags(
|
||||||
xfs_dinode_core_t *dic,
|
|
||||||
__uint16_t di_flags)
|
__uint16_t di_flags)
|
||||||
{
|
{
|
||||||
uint flags = 0;
|
uint flags = 0;
|
||||||
@@ -826,7 +825,7 @@ xfs_ip2xflags(
|
|||||||
{
|
{
|
||||||
xfs_dinode_core_t *dic = &ip->i_d;
|
xfs_dinode_core_t *dic = &ip->i_d;
|
||||||
|
|
||||||
return _xfs_dic2xflags(dic, dic->di_flags) |
|
return _xfs_dic2xflags(dic->di_flags) |
|
||||||
(XFS_CFORK_Q(dic) ? XFS_XFLAG_HASATTR : 0);
|
(XFS_CFORK_Q(dic) ? XFS_XFLAG_HASATTR : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -834,7 +833,7 @@ uint
|
|||||||
xfs_dic2xflags(
|
xfs_dic2xflags(
|
||||||
xfs_dinode_core_t *dic)
|
xfs_dinode_core_t *dic)
|
||||||
{
|
{
|
||||||
return _xfs_dic2xflags(dic, INT_GET(dic->di_flags, ARCH_CONVERT)) |
|
return _xfs_dic2xflags(INT_GET(dic->di_flags, ARCH_CONVERT)) |
|
||||||
(XFS_CFORK_Q_DISK(dic) ? XFS_XFLAG_HASATTR : 0);
|
(XFS_CFORK_Q_DISK(dic) ? XFS_XFLAG_HASATTR : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user