summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_inode_util.h
blob: 4110ec44adff1297d2d4ef338c3da37488c71e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
 * All Rights Reserved.
 */
#ifndef	__XFS_INODE_UTIL_H__
#define	__XFS_INODE_UTIL_H__

uint16_t	xfs_flags2diflags(struct xfs_inode *ip, unsigned int xflags);
uint64_t	xfs_flags2diflags2(struct xfs_inode *ip, unsigned int xflags);
uint32_t	xfs_dic2xflags(uint16_t di_flags, uint64_t di_flags2,
			       bool has_attr);

#endif /* __XFS_INODE_UTIL_H__ */