summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_inode_util.h
blob: 6ad1898a0f73ffc619187d7443772fcea56baa73 (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(struct xfs_inode *ip);
uint32_t	xfs_ip2xflags(struct xfs_inode *ip);

#endif /* __XFS_INODE_UTIL_H__ */