diff options
-rw-r--r-- | fs/xfs/xfs_inode.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 848783ba5650..926d372ae0f9 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -783,7 +783,6 @@ xfs_xlate_dinode_core( | |||
783 | 783 | ||
784 | STATIC uint | 784 | STATIC 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 | ||
833 | uint | 832 | uint |
834 | xfs_dic2xflags( | 833 | xfs_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 | /* |