mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-29 03:47:37 +00:00
Hoist the inode flag conversion functions into libxfs so that we can keep them in sync. Do this by creating a new xfs_inode_util.c file in libxfs. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
15 lines
455 B
C
15 lines
455 B
C
/* 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__ */
|