aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-06-09 03:12:17 -0400
committerNathan Scott <nathans@sgi.com>2006-06-09 03:12:17 -0400
commita916e2bd15b7572d9e791ae2a9333f74175470cd (patch)
treef1910dc6cdf930ca0927ed257f836ab3435179f9 /fs
parent34327e138481137a81a2e33060b8eb0944013801 (diff)
[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>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_inode.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 848783ba565..926d372ae0f 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -783,7 +783,6 @@ xfs_xlate_dinode_core(
783 783
784STATIC uint 784STATIC uint
785_xfs_dic2xflags( 785_xfs_dic2xflags(
786 xfs_dinode_core_t *dic,
787 __uint16_t di_flags) 786 __uint16_t di_flags)
788{ 787{
789 uint flags = 0; 788 uint flags = 0;
@@ -826,16 +825,16 @@ xfs_ip2xflags(
826{ 825{
827 xfs_dinode_core_t *dic = &ip->i_d; 826 xfs_dinode_core_t *dic = &ip->i_d;
828 827
829 return _xfs_dic2xflags(dic, dic->di_flags) | 828 return _xfs_dic2xflags(dic->di_flags) |
830 (XFS_CFORK_Q(dic) ? XFS_XFLAG_HASATTR : 0); 829 (XFS_CFORK_Q(dic) ? XFS_XFLAG_HASATTR : 0);
831} 830}
832 831
833uint 832uint
834xfs_dic2xflags( 833xfs_dic2xflags(
835 xfs_dinode_core_t *dic) 834 xfs_dinode_core_t *dic)
836{ 835{
837 return _xfs_dic2xflags(dic, INT_GET(dic->di_flags, ARCH_CONVERT)) | 836 return _xfs_dic2xflags(INT_GET(dic->di_flags, ARCH_CONVERT)) |
838 (XFS_CFORK_Q_DISK(dic) ? XFS_XFLAG_HASATTR : 0); 837 (XFS_CFORK_Q_DISK(dic) ? XFS_XFLAG_HASATTR : 0);
839} 838}
840 839
841/* 840/*