xfs_ioctl.c (0ea8a56de21be24cb79abb03dee79aabcd60a316) | xfs_ioctl.c (f93e5436f0ee5a85eaa3a86d2614d215873fb18b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 1176 unchanged lines hidden (view full) --- 1185} 1186 1187STATIC uint64_t 1188xfs_flags2diflags2( 1189 struct xfs_inode *ip, 1190 unsigned int xflags) 1191{ 1192 uint64_t di_flags2 = | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 1176 unchanged lines hidden (view full) --- 1185} 1186 1187STATIC uint64_t 1188xfs_flags2diflags2( 1189 struct xfs_inode *ip, 1190 unsigned int xflags) 1191{ 1192 uint64_t di_flags2 = |
1193 (ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK); | 1193 (ip->i_d.di_flags2 & (XFS_DIFLAG2_REFLINK | 1194 XFS_DIFLAG2_BIGTIME)); |
1194 1195 if (xflags & FS_XFLAG_DAX) 1196 di_flags2 |= XFS_DIFLAG2_DAX; 1197 if (xflags & FS_XFLAG_COWEXTSIZE) 1198 di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; 1199 1200 return di_flags2; 1201} --- 1106 unchanged lines hidden --- | 1195 1196 if (xflags & FS_XFLAG_DAX) 1197 di_flags2 |= XFS_DIFLAG2_DAX; 1198 if (xflags & FS_XFLAG_COWEXTSIZE) 1199 di_flags2 |= XFS_DIFLAG2_COWEXTSIZE; 1200 1201 return di_flags2; 1202} --- 1106 unchanged lines hidden --- |